summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2019-12-18 01:07:25 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2019-12-18 01:07:25 +0900
commit30577b0c17afff0293700ffa6b7ccb0c954e0b96 (patch)
treeeff57bc7143fabf5b43cad91c085ff205842896f
parent212de25409636388a2a23befa847b2fa5a5d23ee (diff)
0.20.00.20.0
-rw-r--r--CHANGELOG.md2
-rw-r--r--README.md7
-rwxr-xr-xinstall2
-rw-r--r--src/constants.go2
4 files changed, 8 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fda3315d..2c315509 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,7 @@
CHANGELOG
=========
-0.20.0 (WIP)
+0.20.0
------
- Customizable preview window color (`preview-fg` and `preview-bg` for `--color`)
```sh
diff --git a/README.md b/README.md
index 97712e96..a9e83c71 100644
--- a/README.md
+++ b/README.md
@@ -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.
diff --git a/install b/install
index 35be7ac1..6451926c 100755
--- a/install
+++ b/install
@@ -2,7 +2,7 @@
set -u
-version=0.19.0
+version=0.20.0
auto_completion=
key_bindings=
update_config=2
diff --git a/src/constants.go b/src/constants.go
index e32c092c..5b85d8af 100644
--- a/src/constants.go
+++ b/src/constants.go
@@ -10,7 +10,7 @@ import (
const (
// Current version
- version = "0.19.0"
+ version = "0.20.0"
// Core
coordinatorDelayMax time.Duration = 100 * time.Millisecond