From d172a0071bc6205d576cccb0a2d11a19296eb0c9 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Sat, 8 Nov 2025 21:27:29 -0500 Subject: [PATCH] feat: Adds ripgrep configuration so mini.pick shows hidden files. --- env/.config/nvim/init.lua | 2 +- env/.config/ripgrep/ripgreprc | 7 +++++++ env/.zshenv | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 env/.config/ripgrep/ripgreprc diff --git a/env/.config/nvim/init.lua b/env/.config/nvim/init.lua index da291f1..0a258a1 100644 --- a/env/.config/nvim/init.lua +++ b/env/.config/nvim/init.lua @@ -84,7 +84,7 @@ map('n', 'bn', ':bnext', { desc = "[B]uffer [n]ext" }) map('n', 'cf', vim.lsp.buf.format, { desc = "[F]ormat" }) map('n', '', function() harpoon.ui:toggle_quick_menu(harpoon:list()) end, { desc = "Open harpoon menu" }) map('n', 'e', ':Oil', { desc = "[E]xplore files" }) -map('n', 'ff', ':Pick files tool="git"', { desc = "[F]ind file" }) +map('n', 'ff', ':Pick files', { desc = "[F]ind file" }) map('n', 'fh', ':Pick help', { desc = "[H]elp search" }) map('n', 'hb', function() harpoon:list():prev() end, { desc = "[H]arpoon [b]ack" }) map('n', 'hn', function() harpoon:list():next() end, { desc = "[H]arpoon [n]ext" }) diff --git a/env/.config/ripgrep/ripgreprc b/env/.config/ripgrep/ripgreprc new file mode 100644 index 0000000..30a809b --- /dev/null +++ b/env/.config/ripgrep/ripgreprc @@ -0,0 +1,7 @@ +# Show hidden files +--hidden +# Ignore '.git' directory +--glob=!.git/* +--no-follow +--color=never + diff --git a/env/.zshenv b/env/.zshenv index a60e6ba..425678b 100755 --- a/env/.zshenv +++ b/env/.zshenv @@ -63,6 +63,9 @@ export PSQL_HISTORY="$XDG_DATA_HOME/psql_history" # Hashicorp/Vault export VAULT_ADDR="https://vault.housh.dev" +# RipGrep +export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/ripgreprc" + # Rust export CARGO_HOME="$XDG_DATA_HOME/cargo"