Change Neo Tree key binding to `ft` and configure the mode

This commit is contained in:
syl20bnr 2014-10-12 12:07:49 -04:00
parent 068c9ca7ea
commit fd3efcdf00
2 changed files with 7 additions and 2 deletions

View File

@ -466,6 +466,7 @@ Key Binding | Description
`<SPC> f i` | open your `init.el` file
`<SPC> f s` | save a file
`<SPC> f S` | save all files
`<SPC> f t` | toggle file tree side bar using [neotree][neotree]
`<SPC> f y` | show current file absolute path in the minibuffer
#### Bookmarks
@ -785,7 +786,6 @@ Projects management commands (start with `p`):
Key Binding | Description
------------------|------------------------------------------------------------
`<SPC> p b` | toggle the [neotree][neotree] navigation buffer on the side
`<SPC> p C` | invalidate the cache of `projectile`
`<SPC> p d` | open a `dired` buffer at the root of the project
`<SPC> p f` | open a file of the project using `helm`

View File

@ -1091,8 +1091,13 @@ inserted in the buffer (if it is not read-only)."
(use-package neotree
:defer t
:init
(progn
(setq neo-create-file-auto-open t
neo-dont-be-alone t
neo-banner-message "File Tree browser"
neo-smart-open t))
(progn
(evil-leader/set-key "pb" 'neotree-toggle))))
(evil-leader/set-key "ft" 'neotree-toggle))))
(defun spacemacs/init-org ()
(use-package org