Created
February 20, 2019 13:07
-
-
Save asrivascrealytee/ea4e8bc61b7a964bd168ec339bf977f0 to your computer and use it in GitHub Desktop.
ripgreprc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't let ripgrep vomit really long lines to my terminal. | |
--max-columns=150 | |
# Add my 'web' type. | |
--type-add | |
web:*.{html,css,js}* | |
# Because who cares about case!? | |
--smart-case | |
# Count the number of matches | |
--count | |
## make the output look like The Silver Searcher's output | |
## https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#silver-searcher-output | |
--colors=line:fg:yellow | |
--colors=line:style:bold | |
--colors=path:fg:green | |
--colors=path:style:bold | |
--colors=match:fg:black | |
--colors=match:bg:yellow | |
--colors=match:style:nobold | |
--hidden | |
# Show context by default | |
--context=3 | |
# Always show line numbers for matches | |
--line-number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment