From 30577b0c17afff0293700ffa6b7ccb0c954e0b96 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 18 Dec 2019 01:07:25 +0900 Subject: 0.20.0 --- CHANGELOG.md | 2 +- README.md | 7 +++++-- install | 2 +- src/constants.go | 2 +- 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 -- cgit v1.2.3