dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 662f40b797d6f60747ba6126e0255fba5c81bad7
parent 23a840df3e6c71ecc3314c84f290c129d4f7109b
Author: Chris Bracken <chris@bracken.jp>
Date:   Sun, 25 Aug 2024 17:45:43 -0700

vim: prefix fzf leader mappings with f

Diffstat:
M.config/nvim/lua/config/keymaps.lua | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua @@ -16,11 +16,11 @@ vim.keymap.set('v', '>', '>gv') -- Configure fzf-lua. vim.keymap.set('n', '<leader>b', '<cmd>FzfLua buffers<CR>') -vim.keymap.set('n', '<leader>f', '<cmd>FzfLua files<CR>') -vim.keymap.set('n', '<leader>g', '<cmd>FzfLua grep<CR>') -vim.keymap.set('n', '<leader>l', '<cmd>FzfLua live_grep<CR>') -vim.keymap.set('n', '<leader>c', '<cmd>FzfLua builtin commands<CR>') -vim.keymap.set('n', '<leader>q', function() vim.diagnostic.setqflist() end) +vim.keymap.set('n', '<leader>fg', '<cmd>FzfLua grep<CR>') +vim.keymap.set('n', '<leader>fl', '<cmd>FzfLua live_grep<CR>') +vim.keymap.set('n', '<leader>fc', '<cmd>FzfLua builtin commands<CR>') +vim.keymap.set('n', '<leader>ff', '<cmd>FzfLua files<CR>') +vim.keymap.set('n', '<leader>fr', '<cmd>FzfLua lsp_references<CR>') -- Toggle diagnostics. vim.keymap.set('n', '<leader>d', function()