about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-03-24 17:06:27 +0900
committersefidel <contact@sefidel.net>2022-03-24 17:06:27 +0900
commit63cf41dcef36a5cff42c7f2a1972dab03e40270a (patch)
treea44878c156c4d0f2ac55e840ad73e69e94196059
parented7ba8d4d45277f4518459bbd8bbe2413ec67876 (diff)
downloadnvimrc-63cf41dcef36a5cff42c7f2a1972dab03e40270a.tar.gz
nvimrc-63cf41dcef36a5cff42c7f2a1972dab03e40270a.zip
feat(pack): use t/T for lightspeed
-rw-r--r--fnl/nvrc/keymaps.fnl4
-rw-r--r--fnl/nvrc/pack.fnl3
2 files changed, 4 insertions, 3 deletions
diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl
index 979482c..5ab7407 100644
--- a/fnl/nvrc/keymaps.fnl
+++ b/fnl/nvrc/keymaps.fnl
@@ -25,8 +25,8 @@
 (map! [n :silent] :<leader>fg ((. (require :fzf-lua) :git_commits)))
 (map! [n :silent] :<leader>fh ((. (require :fzf-lua) :git_status)))
 
-(map! [n] :s :<plug>Lightspeed_omni_s)
-(map! [n] :gs :<plug>Lightspeed_omni_gs)
+(map! [n] :t :<plug>Lightspeed_omni_s)
+(map! [n] :T :<plug>Lightspeed_omni_gs)
 
 (map! [n :silent] :<leader>t ":Dirvish<cr>")
 
diff --git a/fnl/nvrc/pack.fnl b/fnl/nvrc/pack.fnl
index c567ef9..6de78a7 100644
--- a/fnl/nvrc/pack.fnl
+++ b/fnl/nvrc/pack.fnl
@@ -1,4 +1,5 @@
 (import-macros {: pack : pack! : unpack!} :nvrc.macro.pack)
+(import-macros {: setv!} :nvrc.macro.set)
 
 (pack! :wbthomason/packer.nvim)
 (pack! :rktjmp/hotpot.nvim)
@@ -29,6 +30,6 @@
                                      (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/lightspeed.nvim)
+(pack! :ggandor/lightspeed.nvim {:config #((. (require :lightspeed) :setup) {:ignore_case true}) :setup #(setv! lightspeed_no_default_keymaps true)})
 
 (unpack!)