diff options
| author | talha <talha@talhaamir.xyz> | 2025-12-06 15:08:59 +0500 |
|---|---|---|
| committer | talha <talha@talhaamir.xyz> | 2025-12-06 15:08:59 +0500 |
| commit | 75b48fc3247b412bb1580c47e96022cffdc8ba9a (patch) | |
| tree | 20f615aae971834ebc1490b41cecdc3d0e9c4a7d /lua/talha/plugins/telescope.lua | |
| parent | 26161cefcda38711c7c8e166ccca7478bcaf18f4 (diff) | |
Diffstat (limited to 'lua/talha/plugins/telescope.lua')
| -rw-r--r-- | lua/talha/plugins/telescope.lua | 13 |
1 files changed, 13 insertions, 0 deletions
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', '<leader>pf', builtin.find_files) + vim.keymap.set('n', '<C-p>', builtin.git_files) + vim.keymap.set('n', '<leader>ps', builtin.live_grep) + vim.keymap.set('n', '<leader>gw', builtin.grep_string) + end + } +} |
