[nvim] feat: add a Telescope mapping to grep under cursor
This commit is contained in:
parent
49a299d91b
commit
e29723ec26
@ -22,6 +22,8 @@ vim.keymap.set("n", "<leader>tf",
|
|||||||
function() require("telescope.builtin").find_files() end)
|
function() require("telescope.builtin").find_files() end)
|
||||||
vim.keymap.set("n", "<leader>tb",
|
vim.keymap.set("n", "<leader>tb",
|
||||||
function() require("telescope.builtin").buffers() end)
|
function() require("telescope.builtin").buffers() end)
|
||||||
|
vim.keymap.set("n", "<leader>tg",
|
||||||
|
function() require("telescope.builtin").grep_string() end)
|
||||||
vim.keymap.set("n", "<leader>tl",
|
vim.keymap.set("n", "<leader>tl",
|
||||||
function() require("telescope.builtin").live_grep() end)
|
function() require("telescope.builtin").live_grep() end)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user