summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-08-06 13:31:32 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-08-06 13:31:32 +0200
commit54e3de20cda354b680f3a2b139970eed7168bb39 (patch)
tree7945eaa20f3b749696ff9a881d81149679966250 /fnl
parent93173acedc826536553e5752e3385ef290b67188 (diff)
Replace aerial group with toggle only
Diffstat (limited to 'fnl')
-rw-r--r--fnl/config/which-key.fnl6
1 files changed, 1 insertions, 5 deletions
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index 4508f58..9f3d31b 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -42,10 +42,6 @@
:noremap true
:nowait true})
-(def- aerial {:name :Aerial
- :a [:<cmd>AerialToggle!<CR> "Toggle Aerial"]
- :c [:<cmd>AerialClose<CR> "Close Aerial"]})
-
(def- find {:name :Find
:b ["<cmd>Telescope git_branches<cr>" "Checkout branch"]
:c ["<cmd>Telescope colorscheme<cr>" :Colorscheme]
@@ -127,7 +123,7 @@
(if (not= win nil)
(nvim.set_current_win win)))))
-(def- nmappings {:a aerial
+(def- nmappings {:a [:<cmd>AerialToggle!<CR> "Toggle Aerial"]
:b ["<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{sort_lastused = true, initial_mode = 'normal', previewer = false})<cr>"
"Switch buffers"]
:c [:<cmd>Bdelete!<CR> "Close Buffer"]