Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 684bfff · Browse files · 2 files+2 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−7 removed

  • other:+2 added−7 removed

2 files+2 added−7 removed

modified:CHANGELOG.md-2 removed
7 unmodified lines
8 fzf --preview 'cat {}' \9 --color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' \10 --border --height 20 --layout reverse --info inline11 ```12- Preview window border can be disabled by setting `noborder` in13 `--preview-window`12- Removed the immediate flicking of the screen on `reload` action.13 ```sh14 : | fzf --bind 'change:reload:seq {q}' --phony15 ```
787 unmodified lines
modified:README.md+2 added-5 removed
508 unmodified lines
509fzf --preview 'bat --style=numbers --color=always {} | head -500'510```511512You can customize the size, position, and border of the preview window using513`--preview-window` option, and the foreground and background color of it with514`--color` option. For example,513`--preview-window` option.514515```bash517fzf --height 40% --layout reverse --info inline --border \518 --preview 'file {}' --preview-window down:1:noborder \519 --color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899'516fzf --height 40% --layout reverse --preview 'file {}' --preview-window down:1517```518519See the man page (`man fzf`) for the full list of options.520
85 unmodified lines