mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
chore(neovim): Keymaps updates
- Zen mode: <Shift-Escape> -> <Ctrl-Escape> - Global symbol searches using telescope's `lsp_workspace_symbols`
This commit is contained in:
@@ -93,9 +93,8 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||
-- Telescope
|
||||
map("gI", require("telescope.builtin").lsp_implementations, "[G]oto [I]mplementation")
|
||||
map("<leader>cs", require("telescope.builtin").lsp_document_symbols, "Search Document Symbols")
|
||||
map("<leader>cS", require("telescope.builtin").lsp_dynamic_workspace_symbols, "Search Workspace Symbols")
|
||||
map("<leader>cS", require("telescope.builtin").lsp_workspace_symbols, "Search Workspace Symbols")
|
||||
map("<leader>ct", require("telescope.builtin").lsp_type_definitions, "Goto Type Definition")
|
||||
map("<leader>cd", require("telescope.builtin").diagnostics, "List Diagnostics")
|
||||
|
||||
Snacks.toggle({
|
||||
name = "Diagnostics Virtual Text",
|
||||
|
||||
@@ -272,7 +272,7 @@ return {
|
||||
desc = "Notification History",
|
||||
},
|
||||
{
|
||||
"<S-Esc>",
|
||||
"<C-Esc>",
|
||||
function()
|
||||
Snacks.zen()
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user