diff options
| author | 2026-04-17 10:53:16 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:53:16 +0100 | |
| commit | 81112ae5ffb60294bec8204114fac16e3e59c3df (patch) | |
| tree | 103366a7e7c99b370f3f43de3cf797f9c63007ec | |
| parent | 9255a70df9ca5c21a4418aa621b468e5564a6c17 (diff) | |
| download | dotfiles-81112ae5ffb60294bec8204114fac16e3e59c3df.tar.gz dotfiles-81112ae5ffb60294bec8204114fac16e3e59c3df.tar.bz2 dotfiles-81112ae5ffb60294bec8204114fac16e3e59c3df.zip | |
fix: resolve which-key overlap and wrong desc in search.lua
Remap live_grep from <localleader>g to <localleader>/ to avoid
overlapping with git fzf commands (<localleader>gc, gb, gs, etc.)
which caused a timeout delay on <localleader>g.
Also fix buffers mapping desc that incorrectly said [G]rep.
| -rw-r--r-- | home/.config/nvim/lua/plugins/search.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.config/nvim/lua/plugins/search.lua b/home/.config/nvim/lua/plugins/search.lua index 814cfef..e889c4c 100644 --- a/home/.config/nvim/lua/plugins/search.lua +++ b/home/.config/nvim/lua/plugins/search.lua @@ -8,14 +8,14 @@ return { function() require("fzf-lua").buffers() end, - desc = "fzf-lua by [G]rep", + desc = "fzf-lua [B]uffers", }, { - "<localleader>g", + "<localleader>/", function() require("fzf-lua").live_grep() end, - desc = "fzf-lua by [G]rep", + desc = "fzf-lua live grep", }, { "<localleader>f", |
