Better keybindings of Neotree
This commit is contained in:
parent
4c62a1a6bf
commit
bebc16c29b
1 changed files with 9 additions and 7 deletions
|
@ -1299,12 +1299,14 @@ Use these special keywords when searching:
|
|||
** Neotree
|
||||
I primarily use [[https://github.com/jaypei/emacs-neotree][Neotree]] when I am screen-sharing my Emacs session with collegues as it shows a /project/ like an IDE.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package neotree
|
||||
:config
|
||||
(use-package neotree
|
||||
:bind (:neotree-mode-map ; Let evil-collection do its thing
|
||||
("j" . 'neotree-next-line)
|
||||
("k" . 'neotree-previous-line))
|
||||
:config ; evil-collection forget a couple:
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "SPC") 'neotree-quick-look)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "RET") 'neotree-enter)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "g") 'neotree-refresh)
|
||||
(evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle))
|
||||
#+END_SRC
|
||||
** Annotations
|
||||
|
|
Loading…
Reference in a new issue