diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-06 12:38:56 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-06 12:38:56 +0200 |
commit | b48f524aefc847f74bc41e150546a26934ff3e8a (patch) | |
tree | 8725c8595e1140febf30e65ca3ae738864177dc6 /fnl/config/which-key.fnl | |
parent | 8e35dfc6dc34a09d0e44fb2f5cc061878f817430 (diff) |
Add aerial plugin
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r-- | fnl/config/which-key.fnl | 7 |
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>" |