From b48f524aefc847f74bc41e150546a26934ff3e8a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 6 Jul 2022 12:38:56 +0200 Subject: Add aerial plugin --- fnl/config/which-key.fnl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'fnl/config/which-key.fnl') diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl index 6eb50bc..a6f690c 100644 --- a/fnl/config/which-key.fnl +++ b/fnl/config/which-key.fnl @@ -38,7 +38,10 @@ (def- mappings {:k ["lua require('Comment.api').toggle_current_linewise()" :Comment] - :a [:Alpha :Alpha] + :A [:Alpha :Alpha] + :a {:name :Aerial + :a [:AerialToggle! "Toggle Aerial"] + :c [:AerialClose "Close Aerial"]} :b ["lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{previewer = false})" :Buffers] :e [:NvimTreeToggle :Explorer] @@ -73,7 +76,7 @@ :b ["Telescope git_branches" "Checkout branch"] :c ["Telescope git_commits" "Checkout commit"] :d ["Gitsigns diffthis HEAD" :Diff] - :n ["Neogit" :Neogit]} + :n [:Neogit :Neogit]} :l {:name :LSP :a ["lua vim.lsp.buf.code_action()" "Code Action"] :d ["Telescope lsp_document_diagnostics" -- cgit v1.2.3-70-g09d2