summaryrefslogtreecommitdiff
path: root/after/plugin/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'after/plugin/telescope.lua')
-rw-r--r--after/plugin/telescope.lua6
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)