Configure ripgrep through RIPGREP_CONFIG_PATH

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-08-22 15:32:11 +02:00
parent 42e943b1a8
commit 3d08fb9d83
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 6 additions and 0 deletions

5
.config/ripgreprc Normal file
View file

@ -0,0 +1,5 @@
# Search for upper and lower case characters when input is all lowercase
--smart-case
# Exclude vendor directory
--glob=!**/vendor/**

View file

@ -19,6 +19,7 @@ export ANSIBLE_NOCOWS=1
export LANG=en_US.UTF-8
export LC_CTYPE=${LANG}
export TZ="Europe/Berlin"
export RIPGREP_CONFIG_PATH=$HOME/.config/ripgreprc
## Map ctrl+← and ctrl+→ to move cursor word wise
bindkey -e