Skip to content

Commit

Permalink
Adds the neotree-quick-look keybind
Browse files Browse the repository at this point in the history
Weirdly, the `'` keybind for `neotree-mode-map` was already present when
doing `M-x neotree-quick-look` with the cursor on the neotree window but
I could not find where exactly it was defined.

This commit officially adds it to the `neotree-mode-map` and the neotree
transient state.
  • Loading branch information
sdwolfz authored and syl20bnr committed Apr 2, 2017
1 parent bfef605 commit 9dc8d43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layers/+spacemacs/spacemacs-ui-visual/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
[_h_] up/collapse^^ ^^ ^^^
[_j_] line down^^ ^^ ^^^
[_k_] line up^^ ^^ ^^
[_'_] quick look ^^ ^^
[_RET_] open ^^^^ [_?_] close hints
"
:bindings
Expand All @@ -199,6 +200,7 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
("|" neotree-enter-vertical-split)
("-" neotree-enter-horizontal-split)
("?" nil :exit t)
("'" neotree-quick-look)
("c" neotree-create-node)
("C" neotree-copy-node)
("d" neotree-delete-node)
Expand All @@ -224,6 +226,7 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
(kbd "RET") 'neotree-enter
(kbd "|") 'neotree-enter-vertical-split
(kbd "-") 'neotree-enter-horizontal-split
(kbd "'") 'neotree-quick-look
(kbd "c") 'neotree-create-node
(kbd "C") 'neotree-copy-node
(kbd "d") 'neotree-delete-node
Expand Down

0 comments on commit 9dc8d43

Please sign in to comment.