From 570fddee2d5b5b0ed1d13837cc4dbb6cbe567056 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 18 Sep 2024 03:05:43 -0700 Subject: [PATCH] feat(keys): avoid conflict between document symbol keybinds for telescope --- config/keymaps.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/config/keymaps.nix b/config/keymaps.nix index f86e97a..4ae989e 100644 --- a/config/keymaps.nix +++ b/config/keymaps.nix @@ -200,14 +200,23 @@ }; } { - action = "lua require'telescope.builtin'.lsp_workplace_symbols{}"; - key = "fs"; + action = "lua require'telescope.builtin'.lsp_document_symbols{}"; + key = "a"; options = { silent = true; noremap = true; desc = "List and search through document symbols"; }; } + { + action = "lua require'telescope.builtin'.lsp_workspace_symbols{}"; + key = "fcs"; + options = { + silent = true; + noremap = true; + desc = "List and search through workplace symbols"; + }; + } { action = "lua require'telescope.builtin'.lsp_type_definitions{}"; key = "fct";