diff --git a/config/nvim/nifoc/keymap.fnl b/config/nvim/nifoc/keymap.fnl index c99c1fc..279a535 100644 --- a/config/nvim/nifoc/keymap.fnl +++ b/config/nvim/nifoc/keymap.fnl @@ -63,6 +63,13 @@ {:description "Neogit Pull"}) (map-entry :vP "Neogit push" {:description "Neogit Push"}) + ;; Legendary + (map-entry :lk #(legendary.find :keymaps) + {:description "Legendary Keymaps"}) + (map-entry :lc #(legendary.find :commands) + {:description "Legendary Commands"}) + (map-entry :la #(legendary.find :autocmds) + {:description "Legendary Autocmds"}) ;; Debug (map-entry :dli :LspInfo {:description "LSP Info"}) @@ -127,6 +134,9 @@ :opts {:buffer bufnr}}) (map-entry :K vim.lsp.buf.hover {:description "Show Documentation" + :opts {:buffer bufnr}}) + (map-entry :F :Format + {:description "Format Buffer" :opts {:buffer bufnr}})])) mod)