diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-06-08 19:02:50 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-06-08 19:02:50 -0500 |
| commit | fafe4746e4a5e1ee191332e1b883440658f3876c (patch) | |
| tree | 53b0b05c29de993a1ecb6311552c77bb6b6c4efe /env/.config/nvim/after/plugin | |
| parent | 01b58f09b74cf22cbdbdc24dbdc8b62fed15f21e (diff) | |
removed unused preload. vim word searching. moved tab maps. fixed zsh clipboard
Diffstat (limited to 'env/.config/nvim/after/plugin')
| -rwxr-xr-x | env/.config/nvim/after/plugin/telescope.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/env/.config/nvim/after/plugin/telescope.lua b/env/.config/nvim/after/plugin/telescope.lua index b77a657..6eb028d 100755 --- a/env/.config/nvim/after/plugin/telescope.lua +++ b/env/.config/nvim/after/plugin/telescope.lua @@ -32,5 +32,13 @@ if ok then vim.keymap.set('n', '<leader>ps', function() builtin.grep_string({ search = vim.fn.input("Grep > ") }); end) - --vim.keymap.set('n', '<C-p>', builtin.git_files, {}) + vim.keymap.set('n', '<leader>pws', function() + local word = vim.fn.expand("<cword>") + builtin.grep_string({ search = word }) + end) + vim.keymap.set('n', '<leader>pWs', function() + local word = vim.fn.expand("<cWORD>") + builtin.grep_string({ search = word }) + end) + vim.keymap.set('n', '<leadere>pg', builtin.git_files, {}) end |
