This commit is contained in:
Junegunn Choi 2019-12-18 01:07:25 +09:00
parent 212de25409
commit 30577b0c17
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
4 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
CHANGELOG
=========
0.20.0 (WIP)
0.20.0
------
- Customizable preview window color (`preview-fg` and `preview-bg` for `--color`)
```sh

View File

@ -510,10 +510,13 @@ fzf --preview 'bat --style=numbers --color=always {} | head -500'
```
You can customize the size, position, and border of the preview window using
`--preview-window` option.
`--preview-window` option, and the foreground and background color of it with
`--color` option. For example,
```bash
fzf --height 40% --layout reverse --preview 'file {}' --preview-window down:1
fzf --height 40% --layout reverse --info inline --border \
--preview 'file {}' --preview-window down:1:noborder \
--color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899'
```
See the man page (`man fzf`) for the full list of options.

View File

@ -2,7 +2,7 @@
set -u
version=0.19.0
version=0.20.0
auto_completion=
key_bindings=
update_config=2

View File

@ -10,7 +10,7 @@ import (
const (
// Current version
version = "0.19.0"
version = "0.20.0"
// Core
coordinatorDelayMax time.Duration = 100 * time.Millisecond