diff options
Diffstat (limited to '.config/nvim/after/plugin/telescope.lua')
-rw-r--r-- | .config/nvim/after/plugin/telescope.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/telescope.lua b/.config/nvim/after/plugin/telescope.lua new file mode 100644 index 0000000..a9d9225 --- /dev/null +++ b/.config/nvim/after/plugin/telescope.lua @@ -0,0 +1,8 @@ +local builtin = require('telescope.builtin') + +--vim.keymap.set('n', '<leader>pf', builtin.git_files, {}) + +vim.keymap.set('n', '<leader>pf', builtin.find_files, {}) +vim.keymap.set('n', '<leader>ps', function() + builtin.grep_string({ search = vim.fn.input('Grep > ') }) +end) |