aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/after/plugin/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/after/plugin/telescope.lua')
-rw-r--r--nvim/after/plugin/telescope.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/nvim/after/plugin/telescope.lua b/nvim/after/plugin/telescope.lua
new file mode 100644
index 0000000..29f5a62
--- /dev/null
+++ b/nvim/after/plugin/telescope.lua
@@ -0,0 +1,8 @@
+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>vh', builtin.help_tags, {})
+