NeoTree: clarify docs

This commit is contained in:
bmag 2016-08-24 21:38:04 +03:00 committed by Eivind Fonn
parent 1bca514d25
commit 64a1b85523
2 changed files with 13 additions and 13 deletions

View File

@ -2097,17 +2097,17 @@ current state. With default =spacemacs-dark= theme:
Navigation is centered on the ~hjkl~ keys with the hope of providing a fast
navigation experience like in [[http://ranger.nongnu.org/][ranger]]:
| Key Binding | Description |
|--------------+------------------------------------------------------------------------|
| ~h~ | collapse expanded directory or go to parent node |
| ~H~ | previous sibling |
| ~j~ | next file or directory |
| ~J~ | next expanded directory on level down |
| ~k~ | previous file or directory |
| ~K~ | parent directory, when reaching the root change it to parent directory |
| ~l~ or ~RET~ | expand directory |
| ~L~ | next sibling |
| ~R~ | make a directory the root directory |
| Key Binding | Description |
|--------------+-------------------------------------------------------------------------------|
| ~h~ | collapse expanded directory or go to parent node |
| ~H~ | select previous sibling |
| ~j~ | select next file or directory |
| ~J~ | select next expanded directory on level down |
| ~k~ | select previous file or directory |
| ~K~ | select parent directory, when reaching the root change it to parent directory |
| ~l~ or ~RET~ | expand directory |
| ~L~ | select next sibling |
| ~R~ | make a directory the root directory |
*Note*: Point is automatically set to the first letter of a node for a smoother
experience.
@ -2136,6 +2136,7 @@ open the file in a split window with ~|~ and ~-~:
| ~s~ | toggle showing of hidden files |
| ~q~ or ~fd~ | hide =NeoTree= buffer |
| ~r~ | rename a node |
| ~?~ | show help |
**** NeoTree mode-line
The mode-line has the following format =[x/y] d (D:a, F:b)= where:

View File

@ -164,7 +164,7 @@
(progn
(setq neo-window-width 32
neo-create-file-auto-open t
neo-banner-message nil
neo-banner-message "Press ? for neotree help"
neo-show-updir-line nil
neo-mode-line-type 'neotree
neo-smart-open t
@ -220,7 +220,6 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
(kbd "RET") 'neotree-enter
(kbd "|") 'neotree-enter-vertical-split
(kbd "-") 'neotree-enter-horizontal-split
(kbd "?") 'evil-search-backward
(kbd "c") 'neotree-create-node
(kbd "d") 'neotree-delete-node
(kbd "gr") 'neotree-refresh