aboutsummaryrefslogtreecommitdiff
path: root/store/home/config/nvim/lua/setup/plugins/telescope.lua
diff options
context:
space:
mode:
Diffstat (limited to 'store/home/config/nvim/lua/setup/plugins/telescope.lua')
-rw-r--r--store/home/config/nvim/lua/setup/plugins/telescope.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/store/home/config/nvim/lua/setup/plugins/telescope.lua b/store/home/config/nvim/lua/setup/plugins/telescope.lua
new file mode 100644
index 0000000..d68b7f2
--- /dev/null
+++ b/store/home/config/nvim/lua/setup/plugins/telescope.lua
@@ -0,0 +1,11 @@
+local function setup()
+ local builtin = require('telescope.builtin')
+ vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
+ vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
+ vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
+ vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
+end
+
+return {
+ setup = setup
+}