From 887eb9dc1e2c8409adcd2430c7b27ecb565af86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Codru=C8=9B=20Constantin=20Gu=C8=99oi?= Date: Wed, 22 Mar 2017 16:51:39 +0200 Subject: [PATCH] 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. --- layers/+spacemacs/spacemacs-ui-visual/packages.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layers/+spacemacs/spacemacs-ui-visual/packages.el b/layers/+spacemacs/spacemacs-ui-visual/packages.el index 4abbf0f20..7ef8066f4 100644 --- a/layers/+spacemacs/spacemacs-ui-visual/packages.el +++ b/layers/+spacemacs/spacemacs-ui-visual/packages.el @@ -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 @@ -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) @@ -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