diff --git a/config/nvim/lua/plugins/telescope.lua b/config/nvim/lua/plugins/telescope.lua index 6f3a45a..5604c33 100644 --- a/config/nvim/lua/plugins/telescope.lua +++ b/config/nvim/lua/plugins/telescope.lua @@ -23,9 +23,11 @@ return { vim.keymap.set('n', 'ff', builtin.find_files, { desc = '[F]ind [F]iles' }) vim.keymap.set('n', 'fg', builtin.git_files, { desc = '[F]ind in [g]it files' }) - vim.keymap.set('n', 'fG', function() - builtin.grep_string({ search = vim.fn.input("Grep > ") }) - end, { desc = '[F]ind via [G]rep' }) + vim.keymap.set('n', 'fG', builtin.live_grep, { desc = '[F]ind via live [G]rep' }) + vim.keymap.set('n', 'fs', builtin.grep_string, { desc = '[F]ind grep [s]tring' }) + -- vim.keymap.set('n', 'fG', function() + -- builtin.grep_string({ search = vim.fn.input("Grep > ") }) + -- end, { desc = '[F]ind via [G]rep' }) vim.keymap.set('n', 'fb', builtin.buffers, { desc = '[F]ind in [B]uffers' }) vim.keymap.set('n', 'fh', builtin.help_tags, { desc = '[F]ind in [H]elp Tags' }) end,