From 81a0825e037ca02ce93ebeeb157c1b0eda21c568 Mon Sep 17 00:00:00 2001 From: Karsten Hachmeister Date: Mon, 11 Jul 2022 13:38:12 +0200 Subject: [PATCH] add ripgrep config --- .config/ripgreprc | 6 ++++++ .profile | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 .config/ripgreprc diff --git a/.config/ripgreprc b/.config/ripgreprc new file mode 100644 index 0000000..c0ed725 --- /dev/null +++ b/.config/ripgreprc @@ -0,0 +1,6 @@ +# Enable smart case +--smart-case + +# Limit preview +--max-columns=150 +--max-columns-preview diff --git a/.profile b/.profile index 1e59722..908b2d1 100644 --- a/.profile +++ b/.profile @@ -33,6 +33,9 @@ export LESS=iR # set exa colors export EXA_COLORS="da=32" +# set ripgrep config file +export RIPGREP_CONFIG_PATH="$HOME/.config/ripgreprc" + # use all cores with Makefile's export MAKEFLAGS="-j$(nproc --all)"