[nvim] feat: remap telescope functionalities

This commit is contained in:
David JULIEN 2023-01-02 19:56:23 +01:00
parent 6d5fa385d2
commit 4ad4d95674

View File

@ -49,11 +49,11 @@ vim.keymap.set("n", "<leader>tf",
function() require("telescope.builtin").find_files() end, function() require("telescope.builtin").find_files() end,
{ desc = "Fuzzy find files" } { desc = "Fuzzy find files" }
) )
vim.keymap.set("n", "<leader>tef", vim.keymap.set("n", "<leader>tb",
function() require("telescope").extensions.file_browser.file_browser() end, function() require("telescope").extensions.file_browser.file_browser() end,
{ desc = "Open file browser" } { desc = "Open file browser" }
) )
vim.keymap.set("n", "<leader>tb", vim.keymap.set("n", "<leader>t/",
function() require("telescope.builtin").buffers() end, function() require("telescope.builtin").buffers() end,
{ desc = "Grep through buffers" } { desc = "Grep through buffers" }
) )