Skip to content

Commit

Permalink
fix(vim): enable ripgrep bindings for searching a project
Browse files Browse the repository at this point in the history
  • Loading branch information
mscharley committed Oct 7, 2024
1 parent c4d8644 commit 6a3db1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xdg-config/nvim%lua%usermod/keybindings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ vim.keymap.set("n", "<space>s", require('nvim-tree.api').tree.toggle, { silent =

-- Fuzzy file finder
vim.keymap.set('n', '<leader>g', require('fzf-lua').files, { desc = "Fuzzy find files" })
vim.keymap.set('n', '<leader>r', require('fzf-lua').live_grep_resume, { desc = "Search project" })
vim.keymap.set('n', '<leader>R', require('fzf-lua').live_grep, { desc = "Search project (clean)" })

-- LSP interactions
local function quickfix()
Expand Down

0 comments on commit 6a3db1c

Please sign in to comment.