feat(keys): avoid conflict between document symbol keybinds for

telescope
This commit is contained in:
Youwen Wu 2024-09-18 03:05:43 -07:00
parent 8e3bb627ba
commit 570fddee2d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -200,14 +200,23 @@
};
}
{
action = "<cmd>lua require'telescope.builtin'.lsp_workplace_symbols{}<CR>";
key = "<leader>fs";
action = "<cmd>lua require'telescope.builtin'.lsp_document_symbols{}<CR>";
key = "<leader>a";
options = {
silent = true;
noremap = true;
desc = "List and search through document symbols";
};
}
{
action = "<cmd>lua require'telescope.builtin'.lsp_workspace_symbols{}<CR>";
key = "<leader>fcs";
options = {
silent = true;
noremap = true;
desc = "List and search through workplace symbols";
};
}
{
action = "<cmd>lua require'telescope.builtin'.lsp_type_definitions{}<CR>";
key = "<leader>fct";