aboutsummaryrefslogtreecommitdiff
path: root/NeoVim/.config/nvim/lua/plugins/telescope.lua
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 00:44:29 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-14 00:44:29 +0100
commitbc3fae6b88308dc3e478954a0fb3d0b14809c2e8 (patch)
tree721374b530fae630fe5234f1f63e2dbe388763a8 /NeoVim/.config/nvim/lua/plugins/telescope.lua
parente36e3bd66c5cb9b9d3a604017c75e356e2678abd (diff)
downloaddotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.gz
dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.bz2
dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.zip
New neovim config
Uses lazy nvim and Lua instead of the old Vundle and vimscript setup.
Diffstat (limited to 'NeoVim/.config/nvim/lua/plugins/telescope.lua')
-rw-r--r--NeoVim/.config/nvim/lua/plugins/telescope.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/NeoVim/.config/nvim/lua/plugins/telescope.lua b/NeoVim/.config/nvim/lua/plugins/telescope.lua
new file mode 100644
index 0000000..5271a80
--- /dev/null
+++ b/NeoVim/.config/nvim/lua/plugins/telescope.lua
@@ -0,0 +1,8 @@
+return {
+ "nvim-telescope/telescope.nvim",
+ config = function ()
+ local telescope = require("telescope.builtin")
+ vim.keymap.set("n", "<leader>ff", telescope.find_files, {})
+ vim.keymap.set("n", "<leader>ss", telescope.current_buffer_fuzzy_find, {})
+ end
+}