From 5431699795570147e1382223bcb37e2b8522a6fd Mon Sep 17 00:00:00 2001 From: Marcelo Date: Sun, 30 Mar 2025 04:26:45 -0300 Subject: Add keybinds to save changed buffers. And another to reopen the last telescope search. --- lua/config/plugins/telescope.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/config/plugins/telescope.lua') diff --git a/lua/config/plugins/telescope.lua b/lua/config/plugins/telescope.lua index e55fc17..dbe844e 100644 --- a/lua/config/plugins/telescope.lua +++ b/lua/config/plugins/telescope.lua @@ -83,6 +83,8 @@ return { vim.keymap.set("n", "f", builtin.live_grep, { desc = "Search file contents" }) vim.keymap.set("n", "F", builtin.grep_string, { desc = "Search for the string under the cursor" }) + vim.keymap.set("n", "r", builtin.resume, { desc = "Open last telescope search" }) + vim.keymap.set("n", "m", function() builtin.treesitter({ symbols = "function", -- cgit v1.2.3