From 0bc3b13d0e0c0959fddaef55854d8d7abbf28cf5 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Wed, 6 Apr 2022 16:32:24 +0200 Subject: [PATCH] Update keyamp --- config/nvim/nifoc/keymap.fnl | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)