diff options
Diffstat (limited to 'nvim/lua/after/plugin/telescope.lua')
-rw-r--r-- | nvim/lua/after/plugin/telescope.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nvim/lua/after/plugin/telescope.lua b/nvim/lua/after/plugin/telescope.lua new file mode 100644 index 0000000..73a160e --- /dev/null +++ b/nvim/lua/after/plugin/telescope.lua @@ -0,0 +1,11 @@ +local builtin = require('telescope.builtin') +vim.keymap.set('n', '<leader>f', builtin.find_files, {}) +vim.keymap.set('n', '<leader>s', builtin.live_grep, {}) +vim.keymap.set('n', '<leader>b', builtin.buffers, {}) +--vim.keymap.set('n', '<leader>fh', builtin.help_tags, {}) + +--[[ +vim.keymap.set('n', '<leader>fs', function() + builtin.grep_string({ search = vim.fn.input("Grep > ") }); +end) +--]] |