Skip to content

Commit

Permalink
Replace live_grep
Browse files Browse the repository at this point in the history
  • Loading branch information
mau-mauricelim committed Nov 7, 2024
1 parent 6935a24 commit aa5a10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/nvim/lua/plugins/fzf-lua.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ return {
vim.keymap.set('n', '<Leader>ss', fzf_lua.builtin, { desc = '[S]earch [S]elect fzf-lua builtin commands' })
vim.keymap.set('n', '<Leader>sw', fzf_lua.grep_cword, { desc = '[S]earch current [W]ord under cursor' })
vim.keymap.set('v', '<Leader>sv', fzf_lua.grep_visual, { desc = '[S]earch [V]isual selection' })
vim.keymap.set('n', '<Leader>sg', fzf_lua.live_grep, { desc = '[S]earch by live [g]rep' })
vim.keymap.set('n', '<Leader>sg', fzf_lua.live_grep_native, { desc = '[S]earch by live [g]rep' })
vim.keymap.set('n', '<Leader>sd', fzf_lua.diagnostics_document, { desc = '[S]earch document [D]iagnostics' })
vim.keymap.set('n', '<Leader>sr', fzf_lua.resume, { desc = '[S]earch [R]esume last command/query' })
vim.keymap.set('n', '<Leader>sq', fzf_lua.quickfix, { desc = '[S]earch [Q]uickfix' })
Expand Down

0 comments on commit aa5a10f

Please sign in to comment.