diff options
author | talha <talha@talhaamir.xyz> | 2025-01-10 14:54:54 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2025-01-10 15:01:25 +0500 |
commit | ec235190e8f3240b78f943f6fbb10408783949d0 (patch) | |
tree | 6b1a447a5c68584e54cc0c03235b77d37d61897d /after/plugin/telescope.lua | |
parent | 440cc9de7021c7059523b6dafbf02f247291f160 (diff) |
initializing new branch
Diffstat (limited to 'after/plugin/telescope.lua')
-rw-r--r-- | after/plugin/telescope.lua | 9 |
1 files changed, 4 insertions, 5 deletions
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', '<leader>pf', builtin.find_files, {}) -vim.keymap.set('n', '<C-p>', builtin.git_files, {}) -vim.keymap.set('n', '<leader>ps', function() - builtin.grep_string({ search = vim.fn.input("Grep > ") }); -end) +vim.keymap.set('n', '<leader>pf', builtin.find_files) +vim.keymap.set('n', '<C-p>', builtin.git_files) +vim.keymap.set('n', '<leader>ps', builtin.live_grep) +vim.keymap.set('n', '<leader>gw', builtin.grep_string) |