diff options
author | talha <talha@talhaamir.xyz> | 2023-11-19 13:47:03 +0500 |
---|---|---|
committer | talha <talha@talhaamir.xyz> | 2023-11-19 13:47:03 +0500 |
commit | a75d4659bfac04a1f5cad4166cc68f873768c653 (patch) | |
tree | 1e3d7f0198bd16ca3270bcb3a72955f21738971a /after/plugin/telescope.lua |
Adding files for upload
Diffstat (limited to 'after/plugin/telescope.lua')
-rw-r--r-- | after/plugin/telescope.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua new file mode 100644 index 0000000..4806008 --- /dev/null +++ b/after/plugin/telescope.lua @@ -0,0 +1,6 @@ +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) |