[nvim] feat: add Telescope keymaps
<leader>tk to list keymaps <leader>tx to list diagnostics
This commit is contained in:
parent
debc21cc3a
commit
fcb727cea0
@ -90,6 +90,16 @@ vim.keymap.set("n", "<leader>tl",
|
|||||||
function() require("telescope.builtin").live_grep() end,
|
function() require("telescope.builtin").live_grep() end,
|
||||||
{ desc = "Grep interactively" }
|
{ desc = "Grep interactively" }
|
||||||
)
|
)
|
||||||
|
vim.keymap.set("n", "<leader>tk",
|
||||||
|
function() require("telescope.builtin").keymaps() end,
|
||||||
|
{ desc = "Search through keymaps" }
|
||||||
|
)
|
||||||
|
vim.keymap.set("n", "<leader>tx",
|
||||||
|
function() require("telescope.builtin").diagnostics(
|
||||||
|
{ buffnr = 0 }
|
||||||
|
) end,
|
||||||
|
{ desc = "Search through LSP diagnostics" }
|
||||||
|
)
|
||||||
|
|
||||||
-- colorscheme
|
-- colorscheme
|
||||||
vim.keymap.set("n", "<leader>s",
|
vim.keymap.set("n", "<leader>s",
|
||||||
|
Reference in New Issue
Block a user