From 134fa6df093fe03f6443c728ae1df20014cf68be Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Fri, 9 Aug 2024 04:49:59 +0200 Subject: [PATCH] Telescope search changes --- lua/plugins/telescope.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 593e9c8..743ede6 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -77,6 +77,8 @@ return { -- Fuzzy Finder (files, lsp, etc) vim.keymap.set('n', 'sr', builtin.resume, { desc = '[S]earch [R]esume' }) vim.keymap.set('n', 's.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' }) vim.keymap.set('n', '', builtin.buffers, { desc = '[ ] Find existing buffers' }) + vim.keymap.set('n', 'sc', builtin.git_status, { desc = '[S]earch [C]hanges' }) + vim.keymap.set('n', 'sl', builtin.current_buffer_fuzzy_find, { desc = '[S]earch [L]ines (current buffer)' }) -- Slightly advanced example of overriding default behavior and theme vim.keymap.set('n', '/', function()