Skip to content

Commit 9dc8d43

Browse files
sdwolfzsyl20bnr
authored andcommitted
Adds the neotree-quick-look keybind
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.
1 parent bfef605 commit 9dc8d43

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

layers/+spacemacs/spacemacs-ui-visual/packages.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
191191
[_h_] up/collapse^^ ^^ ^^^
192192
[_j_] line down^^ ^^ ^^^
193193
[_k_] line up^^ ^^ ^^
194+
[_'_] quick look ^^ ^^
194195
[_RET_] open ^^^^ [_?_] close hints
195196
"
196197
:bindings
@@ -199,6 +200,7 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
199200
("|" neotree-enter-vertical-split)
200201
("-" neotree-enter-horizontal-split)
201202
("?" nil :exit t)
203+
("'" neotree-quick-look)
202204
("c" neotree-create-node)
203205
("C" neotree-copy-node)
204206
("d" neotree-delete-node)
@@ -224,6 +226,7 @@ Navigation^^^^ Actions^^ Visual actions/config^^^
224226
(kbd "RET") 'neotree-enter
225227
(kbd "|") 'neotree-enter-vertical-split
226228
(kbd "-") 'neotree-enter-horizontal-split
229+
(kbd "'") 'neotree-quick-look
227230
(kbd "c") 'neotree-create-node
228231
(kbd "C") 'neotree-copy-node
229232
(kbd "d") 'neotree-delete-node

0 commit comments

Comments
 (0)