diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-08-06 12:15:13 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-08-06 12:15:13 -0500 |
| commit | 968141f8a710627946be9566cf7bcec937f60f5c (patch) | |
| tree | 974b1e2f2990ac30d6c075cb27ca28a3b60ea916 /env/.config/nvim | |
| parent | 83318afdb6280e9f0d4aefda22db6f55bc76124b (diff) | |
Squashed commit of the following:
- mpv
- i3
- changed zsh ps1
- added swapscape to backup-tol2
- removed floating
- show hidden on word search telescope
- added mod+r to leave resize
Diffstat (limited to 'env/.config/nvim')
| -rwxr-xr-x | env/.config/nvim/after/plugin/telescope.lua | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/env/.config/nvim/after/plugin/telescope.lua b/env/.config/nvim/after/plugin/telescope.lua index 7a9d196..9d4488f 100755 --- a/env/.config/nvim/after/plugin/telescope.lua +++ b/env/.config/nvim/after/plugin/telescope.lua @@ -44,7 +44,16 @@ if ok then vim.keymap.set('n', '<leader>ph', builtin.help_tags, {}) vim.keymap.set('n', '<leader>pr', builtin.registers, {}) vim.keymap.set('n', '<leader>ps', function() - builtin.grep_string({ search = vim.fn.input("Grep > ") }); + builtin.grep_string({ + search = vim.fn.input("Grep > "), + additional_args = function() + return { + "--hidden", + "--no-ignore", + "--glob", "!**/.git/*" + } + end + }) end) vim.keymap.set('n', '<leader>pws', function() local word = vim.fn.expand("<cword>") |
