m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 00:53:42 -05:00

Updated Color scheme (markdown)

Junegunn Choi
2015-06-03 23:23:28 +09:00
parent b0ad495792
commit 7069dc31c8

@@ -1,10 +1,22 @@
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=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
(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
- `bw` No colors
#### Color configuration
##### Color configuration
- `fg` Text
- `bg` Background
- `hl` Highlighted substrings
@@ -27,5 +39,4 @@ fzf --color=light,fg:232,bg:255,bg+:116,info:27
- `marker` Multi-select marker
- `spinner` Streaming input indicator
## Red