summaryrefslogtreecommitdiffstats
path: root/README.md
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 /README.md
parent212de25409636388a2a23befa847b2fa5a5d23ee (diff)
0.20.00.20.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 5 insertions, 2 deletions
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.