From 8ec40af684c5ad9d78b4b2cb5bbdfa3155237ab3 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 2 Sep 2023 11:41:33 +0900 Subject: feat(packs/leap)!: use default keybindings --- fnl/nvrc/keymaps.fnl | 3 --- fnl/nvrc/pack.fnl | 2 +- fnl/nvrc/packs/leap.fnl | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 fnl/nvrc/packs/leap.fnl (limited to 'fnl') diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl index 0e263cb..349464b 100644 --- a/fnl/nvrc/keymaps.fnl +++ b/fnl/nvrc/keymaps.fnl @@ -29,9 +29,6 @@ (map! [n :silent] :fg ((. (require :fzf-lua) :git_commits))) (map! [n :silent] :fh ((. (require :fzf-lua) :git_status))) -(map! [n] :t "(leap-omni)") -(map! [n] :T "(leap-cross-window)") - (map! [n :silent] :t ":Dirvish") (map! [n :silent] :ga ":Git add %") diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl index 68961e9..7195526 100644 --- a/fnl/nvrc/pack.fnl +++ b/fnl/nvrc/pack.fnl @@ -33,7 +33,7 @@ (pack :lukas-reineke/cmp-under-comparator {:module :cmp-under-comparator})]}) (pack! :numToStr/Comment.nvim {:module :Comment :init :Comment}) (pack! :ibhagwan/fzf-lua {:req :fzf :module :fzf-lua}) -(pack! :ggandor/leap.nvim) +(pack! :ggandor/leap.nvim {:req :leap}) (pack! :windwp/nvim-autopairs {:init :nvim-autopairs}) (unpack!) diff --git a/fnl/nvrc/packs/leap.fnl b/fnl/nvrc/packs/leap.fnl new file mode 100644 index 0000000..28220a8 --- /dev/null +++ b/fnl/nvrc/packs/leap.fnl @@ -0,0 +1,3 @@ +(local {: add_default_mappings} (require :leap)) + +(add_default_mappings) -- cgit 1.4.1