From 75b48fc3247b412bb1580c47e96022cffdc8ba9a Mon Sep 17 00:00:00 2001 From: talha Date: Sat, 6 Dec 2025 15:08:59 +0500 Subject: Updated config structure --- lua/talha/plugins/telescope.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/talha/plugins/telescope.lua (limited to 'lua/talha/plugins/telescope.lua') diff --git a/lua/talha/plugins/telescope.lua b/lua/talha/plugins/telescope.lua new file mode 100644 index 0000000..c380c79 --- /dev/null +++ b/lua/talha/plugins/telescope.lua @@ -0,0 +1,13 @@ +return { + { + "nvim-telescope/telescope.nvim", version = "0.1.2", + dependencies = { "nvim-lua/plenary.nvim" }, + config = function() + local builtin = require('telescope.builtin') + vim.keymap.set('n', 'pf', builtin.find_files) + vim.keymap.set('n', '', builtin.git_files) + vim.keymap.set('n', 'ps', builtin.live_grep) + vim.keymap.set('n', 'gw', builtin.grep_string) + end + } +} -- cgit v1.2.3