diff options
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/pack.fnl | 2 | ||||
-rw-r--r-- | fnl/nvrc/packs/leap.fnl | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl index ae49024..9e65d83 100644 --- a/fnl/nvrc/pack.fnl +++ b/fnl/nvrc/pack.fnl @@ -47,7 +47,7 @@ (pack :hrsh7th/cmp-nvim-lsp-signature-help)]}) (pack! :numToStr/Comment.nvim {:init :Comment :lazy true}) (pack! :ibhagwan/fzf-lua {:req :fzf :lazy true}) -(pack! :ggandor/leap.nvim {:req :leap :keys [:s :S :gs]}) +(pack! :ggandor/leap.nvim {:req :leap :keys [:s :S]}) (pack! :windwp/nvim-autopairs {:req :autopairs :event :InsertEnter}) (pack! :kylechui/nvim-surround {:init :nvim-surround :event :InsertEnter}) diff --git a/fnl/nvrc/packs/leap.fnl b/fnl/nvrc/packs/leap.fnl index 28220a8..a395447 100644 --- a/fnl/nvrc/packs/leap.fnl +++ b/fnl/nvrc/packs/leap.fnl @@ -1,3 +1,4 @@ -(local {: add_default_mappings} (require :leap)) +(import-macros {: map!} :nvrc.macro.keymap) -(add_default_mappings) +(map! [nxo] :s "<Plug>(leap-forward)") +(map! [nxo] :S "<Plug>(leap-backward)") |