commit 662f0c5ed02fc701a3c0b1fb7648594dcdec4ce6
parent 5eb990859010589ff7cf396514dd44e57a4155dc
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 26 Aug 2024 20:26:10 -0700
vim: map <leader>fs to fzf search document symbols
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua
@@ -21,6 +21,7 @@ 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>')
+vim.keymap.set('n', '<leader>fs', '<cmd>FzfLua lsp_document_symbols<CR>')
-- Toggle diagnostics.
vim.keymap.set('n', '<leader>d', function()