summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMarcelo <setanta@gmail.com>2025-03-30 04:26:45 -0300
committerMarcelo <setanta@gmail.com>2025-03-30 04:26:45 -0300
commit5431699795570147e1382223bcb37e2b8522a6fd (patch)
treed3a4afcaaf0f8901af87d29f7633ab0b6623f129 /lua
parenta25552fd567f0efb76239d0580fae4357e874c74 (diff)
Add keybinds to save changed buffers.
And another to reopen the last telescope search.
Diffstat (limited to 'lua')
-rw-r--r--lua/config/plugins/telescope.lua2
1 files changed, 2 insertions, 0 deletions
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", "<Leader>f", builtin.live_grep, { desc = "Search file contents" })
vim.keymap.set("n", "<Leader>F", builtin.grep_string, { desc = "Search for the string under the cursor" })
+ vim.keymap.set("n", "<Leader>r", builtin.resume, { desc = "Open last telescope search" })
+
vim.keymap.set("n", "<Leader>m", function()
builtin.treesitter({
symbols = "function",