feat(rg): global RC
This commit is contained in:
parent
7d69fd73e2
commit
ba221bb216
28
.ripgreprc
Normal file
28
.ripgreprc
Normal file
@ -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
|
4
.zshrc
4
.zshrc
@ -132,6 +132,10 @@ if [[ -f $ALT_HISTORY_FILE ]]; then
|
|||||||
bindkey -M viins '^[[114;13u' fzf-alt-history-widget
|
bindkey -M viins '^[[114;13u' fzf-alt-history-widget
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
### Ripgrep
|
||||||
|
#
|
||||||
|
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
|
||||||
|
|
||||||
### ZVM — Zsh VI mode
|
### ZVM — Zsh VI mode
|
||||||
#
|
#
|
||||||
# https://github.com/jeffreytse/zsh-vi-mode
|
# https://github.com/jeffreytse/zsh-vi-mode
|
||||||
|
Loading…
Reference in New Issue
Block a user