From 63cf41dcef36a5cff42c7f2a1972dab03e40270a Mon Sep 17 00:00:00 2001 From: sefidel Date: Thu, 24 Mar 2022 17:06:27 +0900 Subject: feat(pack): use t/T for lightspeed --- fnl/nvrc/keymaps.fnl | 4 ++-- fnl/nvrc/pack.fnl | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'fnl/nvrc') 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] :fg ((. (require :fzf-lua) :git_commits))) (map! [n :silent] :fh ((. (require :fzf-lua) :git_status))) -(map! [n] :s :Lightspeed_omni_s) -(map! [n] :gs :Lightspeed_omni_gs) +(map! [n] :t :Lightspeed_omni_s) +(map! [n] :T :Lightspeed_omni_gs) (map! [n :silent] :t ":Dirvish") 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!) -- cgit 1.4.1