diff options
| author | Marcelo <setanta@gmail.com> | 2025-03-30 04:26:45 -0300 |
|---|---|---|
| committer | Marcelo <setanta@gmail.com> | 2025-03-30 04:26:45 -0300 |
| commit | 5431699795570147e1382223bcb37e2b8522a6fd (patch) | |
| tree | d3a4afcaaf0f8901af87d29f7633ab0b6623f129 /lua/config/plugins/telescope.lua | |
| parent | a25552fd567f0efb76239d0580fae4357e874c74 (diff) | |
Add keybinds to save changed buffers.
And another to reopen the last telescope search.
Diffstat (limited to 'lua/config/plugins/telescope.lua')
| -rw-r--r-- | lua/config/plugins/telescope.lua | 2 |
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", |
