about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fnl/nvrc/keymaps.fnl3
-rw-r--r--fnl/nvrc/pack.fnl2
-rw-r--r--fnl/nvrc/packs/leap.fnl3
3 files changed, 4 insertions, 4 deletions
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] :<leader>fg ((. (require :fzf-lua) :git_commits)))
 (map! [n :silent] :<leader>fh ((. (require :fzf-lua) :git_status)))
 
-(map! [n] :t "<plug>(leap-omni)")
-(map! [n] :T "<plug>(leap-cross-window)")
-
 (map! [n :silent] :<leader>t ":Dirvish<cr>")
 
 (map! [n :silent] :<leader>ga ":Git add %<tab><cr>")
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)