From ec235190e8f3240b78f943f6fbb10408783949d0 Mon Sep 17 00:00:00 2001 From: talha Date: Fri, 10 Jan 2025 14:54:54 +0500 Subject: initializing new branch --- after/plugin/telescope.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'after/plugin/telescope.lua') diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua index 4806008..5c1ec30 100644 --- a/after/plugin/telescope.lua +++ b/after/plugin/telescope.lua @@ -1,6 +1,5 @@ local builtin = require('telescope.builtin') -vim.keymap.set('n', 'pf', builtin.find_files, {}) -vim.keymap.set('n', '', builtin.git_files, {}) -vim.keymap.set('n', 'ps', function() - builtin.grep_string({ search = vim.fn.input("Grep > ") }); -end) +vim.keymap.set('n', 'pf', builtin.find_files) +vim.keymap.set('n', '', builtin.git_files) +vim.keymap.set('n', 'ps', builtin.live_grep) +vim.keymap.set('n', 'gw', builtin.grep_string) -- cgit v1.2.3