From 6e9919da69050822d2a780f6f0a0dc7ddc935cee Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Tue, 29 Oct 2024 16:46:43 +0100 Subject: [PATCH] feat(lsp/telescope): Add `sb` to search lsp symbols --- lua/telescope-configure.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/telescope-configure.lua b/lua/telescope-configure.lua index 6104773..adb6c20 100644 --- a/lua/telescope-configure.lua +++ b/lua/telescope-configure.lua @@ -76,6 +76,7 @@ vim.keymap.set('n', 'sg', require('telescope.builtin').live_grep, { desc vim.keymap.set('n', 'sG', ':LiveGrepGitRoot', { desc = '[S]earch by [G]rep on Git Root' }) vim.keymap.set('n', 'sd', require('telescope.builtin').diagnostics, { desc = '[S]earch [D]iagnostics' }) vim.keymap.set('n', 'sr', require('telescope.builtin').resume, { desc = '[S]earch [R]esume' }) +vim.keymap.set('n', 'sb', require('telescope.builtin').lsp_document_symbols, { desc = '[S]earch Sym[b]bol' }) -- vim telescope vim.keymap.set('n', 'gc', require('telescope.builtin').git_commits, { desc = '[G]it [C]ommits' })