m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Revert README as preview-{fg,bg} are only available on master

This commit is contained in:
Junegunn Choi
2019-12-13 12:46:07 +09:00
parent 684bfff713
commit 9fefe08b3f
2 changed files with 2 additions and 7 deletions

View File

@@ -9,8 +9,6 @@ CHANGELOG
--color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' \
--border --height 20 --layout reverse --info inline
```
- Preview window border can be disabled by setting `noborder` in
`--preview-window`
- Removed the immediate flicking of the screen on `reload` action.
```sh
: | fzf --bind 'change:reload:seq {q}' --phony

View File

@@ -510,13 +510,10 @@ 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, and the foreground and background color of it with
`--color` option. For example,
`--preview-window` option.
```bash
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'
fzf --height 40% --layout reverse --preview 'file {}' --preview-window down:1
```
See the man page (`man fzf`) for the full list of options.