From 562187bf5a5933ee6ca2696c788c61a81b131e9e Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Sat, 21 Dec 2024 23:51:00 +0100 Subject: [PATCH] feat(telescope): add workspace symbol search --- lua/telescope-configure.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/telescope-configure.lua b/lua/telescope-configure.lua index d4502bb..55ba48f 100644 --- a/lua/telescope-configure.lua +++ b/lua/telescope-configure.lua @@ -77,6 +77,7 @@ vim.keymap.set('n', 'sG', ':LiveGrepGitRoot', { desc = '[S]earch by 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.keymap.set('n', 'sB', require('telescope.builtin').lsp_workspace_symbols, { desc = '[S]earch Sym[b]bol in workspace' }) -- vim telescope vim.keymap.set('n', 'gc', require('telescope.builtin').git_commits, { desc = '[G]it [C]ommits' })