summaryrefslogtreecommitdiff
path: root/fnl/config/which-key.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r--fnl/config/which-key.fnl7
1 files changed, 5 insertions, 2 deletions
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 ["<cmd>lua require('Comment.api').toggle_current_linewise()<CR>"
:Comment]
- :a [:<cmd>Alpha<cr> :Alpha]
+ :A [:<cmd>Alpha<cr> :Alpha]
+ :a {:name :Aerial
+ :a [:<cmd>AerialToggle!<CR> "Toggle Aerial"]
+ :c [:<cmd>AerialClose<CR> "Close Aerial"]}
:b ["<cmd>lua require('telescope.builtin').buffers(require('telescope.themes').get_dropdown{previewer = false})<cr>"
:Buffers]
:e [:<cmd>NvimTreeToggle<cr> :Explorer]
@@ -73,7 +76,7 @@
:b ["<cmd>Telescope git_branches<cr>" "Checkout branch"]
:c ["<cmd>Telescope git_commits<cr>" "Checkout commit"]
:d ["<cmd>Gitsigns diffthis HEAD<cr>" :Diff]
- :n ["<cmd>Neogit<cr>" :Neogit]}
+ :n [:<cmd>Neogit<cr> :Neogit]}
:l {:name :LSP
:a ["<cmd>lua vim.lsp.buf.code_action()<cr>" "Code Action"]
:d ["<cmd>Telescope lsp_document_diagnostics<cr>"