diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2019-12-18 01:07:25 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2019-12-18 01:07:25 +0900 |
commit | 30577b0c17afff0293700ffa6b7ccb0c954e0b96 (patch) | |
tree | eff57bc7143fabf5b43cad91c085ff205842896f /README.md | |
parent | 212de25409636388a2a23befa847b2fa5a5d23ee (diff) |
0.20.00.20.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. |