From 68a8adbc25a974110311695f647a1b315569e4bb Mon Sep 17 00:00:00 2001 From: jordanyono Date: Fri, 21 Nov 2025 15:28:32 -0500 Subject: [PATCH] move h to a --- init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 63698e51..2cd3fd81 100644 --- a/init.lua +++ b/init.lua @@ -572,7 +572,7 @@ require('lazy').setup({ builtin.find_files { cwd = vim.fn.stdpath 'config' } end, { desc = '[S]earch [N]eovim files' }) - vim.keymap.set('n', 'shg', function() + vim.keymap.set('n', 'sag', function() builtin.live_grep { prompt_title = 'Live Grep (All Files)', -- This function adds the flags to the underlying grep command @@ -580,9 +580,9 @@ require('lazy').setup({ return { '--hidden', '--no-ignore', '--no-ignore-parent', '--glob=!**/.git/*' } end, } - end, { desc = '[S]earch [H]idden [G]rep)' }) + end, { desc = '[S]earch [A]ll [G]rep)' }) - vim.keymap.set('n', 'shf', function() + vim.keymap.set('n', 'saf', function() builtin.find_files { prompt_title = 'Find All Files (Hidden + Ignored)', hidden = true, -- Show hidden dotfiles @@ -590,7 +590,7 @@ require('lazy').setup({ no_ignore_parent = true, -- Ignore .gitignore rules of all parents, too file_ignore_patterns = { '.git/' }, -- <--- Explicitly remove the .git folder } - end, { desc = 'Find All Files' }) + end, { desc = '[S]earch [A]ll [F]iles' }) end, }, -- LSP Plugins