mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 17:13:42 -05:00
Updated Color scheme (markdown)
@@ -1,10 +1,22 @@
|
|||||||
You can partially or completely customize the default color configuration of fzf with `--color` option.
|
You can partially or completely customize the default color configuration of fzf with `--color` option.
|
||||||
|
|
||||||
```
|
```sh
|
||||||
|
# --color=[BASE_SCHEME][,COLOR:ANSI]
|
||||||
fzf --color=bg+:24
|
fzf --color=bg+:24
|
||||||
fzf --color=light,fg:232,bg:255,bg+:116,info:27
|
fzf --color=light,fg:232,bg:255,bg+:116,info:27
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The color specification can be quite long if fully customized, so it's advised that you put it in `$FZF_DEFAULT_OPTS`. You can split it into multiple occurrences of `--color`.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
export FZF_DEFAULT_OPTS='
|
||||||
|
--extended
|
||||||
|
--bind ctrl-f:page-down,ctrl-b:page-up
|
||||||
|
--color fg:124,bg:16,hl:202,fg+:214,bg+:52,hl+:231
|
||||||
|
--color info:52,prompt:196,spinner:208,pointer:196,marker:208
|
||||||
|
'
|
||||||
|
```
|
||||||
|
|
||||||
##### Base scheme
|
##### Base scheme
|
||||||
|
|
||||||
(default: dark on 256-color terminal, otherwise 16)
|
(default: dark on 256-color terminal, otherwise 16)
|
||||||
@@ -14,7 +26,7 @@ fzf --color=light,fg:232,bg:255,bg+:116,info:27
|
|||||||
- `16` Color scheme for 16-color terminal
|
- `16` Color scheme for 16-color terminal
|
||||||
- `bw` No colors
|
- `bw` No colors
|
||||||
|
|
||||||
#### Color configuration
|
##### Color configuration
|
||||||
- `fg` Text
|
- `fg` Text
|
||||||
- `bg` Background
|
- `bg` Background
|
||||||
- `hl` Highlighted substrings
|
- `hl` Highlighted substrings
|
||||||
@@ -27,5 +39,4 @@ fzf --color=light,fg:232,bg:255,bg+:116,info:27
|
|||||||
- `marker` Multi-select marker
|
- `marker` Multi-select marker
|
||||||
- `spinner` Streaming input indicator
|
- `spinner` Streaming input indicator
|
||||||
|
|
||||||
## Red
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user