diff --git a/.ripgreprc b/.ripgreprc new file mode 100644 index 0000000..f8ed369 --- /dev/null +++ b/.ripgreprc @@ -0,0 +1,28 @@ +## Colors +# +--colors=path:bg:23 +--colors=path:fg:253 + +## Smart-case Search +# +# - case-insensitive if the pattern is all lowercase; +# - case-sensitive otherwise. +# +# Overrides -s/--case-sensitive and -i/--ignore-case flags. +--smart-case + +## Files Types +# +# --type-list to show all supported file types and their corresponding globs. +# --type-not to exclude a type from search. +# +--type-not=bzip2 +--type-not=gzip +--type-not=xz + +## Sorting in ascending order +# - none (Default) Do not sort results. Fastest. Can be multi-threaded. +# - path Sort by file path. Always single-threaded. +# - modified Sort by the last modified time on a file. Always single-threaded. +# +--sort=path diff --git a/.zshrc b/.zshrc index 6a812a4..d524b1a 100644 --- a/.zshrc +++ b/.zshrc @@ -132,6 +132,10 @@ if [[ -f $ALT_HISTORY_FILE ]]; then bindkey -M viins '^[[114;13u' fzf-alt-history-widget fi +### Ripgrep +# +export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc + ### ZVM — Zsh VI mode # # https://github.com/jeffreytse/zsh-vi-mode