diff options
author | nil <niljo@airmail.cc> | 2025-01-14 20:14:37 +0100 |
---|---|---|
committer | nil <niljo@airmail.cc> | 2025-01-14 20:14:37 +0100 |
commit | 2f483e68303c33d6aa3723d887b09998c3f20ee4 (patch) | |
tree | 29ec62ba1cf3f6b10cffa2efd8f6da41f5db5603 /lua/after/plugin/telescope.lua |
Diffstat (limited to 'lua/after/plugin/telescope.lua')
-rwxr-xr-x | lua/after/plugin/telescope.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/after/plugin/telescope.lua b/lua/after/plugin/telescope.lua new file mode 100755 index 0000000..99dcd11 --- /dev/null +++ b/lua/after/plugin/telescope.lua @@ -0,0 +1,18 @@ +require('telescope').setup{ + defaults = { + file_ignore_patterns = { + } + } +} + +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) +--]] |