summaryrefslogtreecommitdiff
path: root/nvim/lua/after/plugin/telescope.lua
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-08-16 12:30:33 +0200
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-08-16 12:30:33 +0200
commit23a62d70129db30027ba620fc798a666c198ba35 (patch)
tree51b59657991b10665936e33bb7fcee3873f371ef /nvim/lua/after/plugin/telescope.lua
parent37d4a19152bbb2a83f4c0ce7172388240252d8f1 (diff)
update
Diffstat (limited to 'nvim/lua/after/plugin/telescope.lua')
-rw-r--r--nvim/lua/after/plugin/telescope.lua11
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)
+--]]