BurntSushi / ripgrep

ripgrep recursively searches directories for a regex pattern while respecting your gitignore
The Unlicense
48.92k stars 2.01k forks source link

use colorscheme #2908

Closed Masber closed 1 month ago

Masber commented 1 month ago

Describe your feature request

many terminal applications like vim, alacritty, bat allows the user to set a specific colorscheme to print commands output. Could ripgrep take the same approach using the --colors argument? something like:

Some examples:

set ripgrep to use gruvbox-dark colorscheme

rg --colors=colorscheme=gruvbox --colors=bg:dark

set ripgrep to use gruvbox-light colorscheme

rg --colors=colorscheme=gruvbox --colors=bg:light

or directly (without specifying background)

rg --colors=colorscheme=gruvbox-dark

thank you

BurntSushi commented 1 month ago

I appreciate the suggestion, but this isn't something I want to maintain. ripgrep's use of colors are also way simpler than vim, alacritty or bat.