summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2021-04-06 20:10:55 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2021-04-06 20:10:55 +0900
commitda1f64567064de34bc26fd3b6390fb80f0054319 (patch)
tree9af64ea44389d0861ce2c60b8852c1bac7b95d78 /man
parent3a2015ee26a75f776ab097e293aec57abd1aa833 (diff)
Change --preview-window delimiter from : to , for consistency
Delimiter : was chosen when --preview-option only supported position and size attributes. e.g. up:50%
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.18
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index d5b26c9f..ae16a75a 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -444,7 +444,7 @@ e.g.
done'\fR
.RE
.TP
-.BI "--preview-window=" "[POSITION][:SIZE[%]][:border-BORDER_OPT][:[no]wrap][:[no]follow][:[no]cycle][:[no]hidden][:+SCROLL[OFFSETS][/DENOM]][:~HEADER_LINES][:default]"
+.BI "--preview-window=" "[POSITION][,SIZE[%]][,border-BORDER_OPT][,[no]wrap][,[no]follow][,[no]cycle][,[no]hidden][,+SCROLL[OFFSETS][/DENOM]][,~HEADER_LINES][,default]"
.RS
.B POSITION: (default: right)
@@ -501,8 +501,8 @@ are always visible.
.RS
e.g.
\fB# Non-default scroll window positions and sizes
- fzf --preview="head {}" --preview-window=up:30%
- fzf --preview="file {}" --preview-window=down:1
+ fzf --preview="head {}" --preview-window=up,30%
+ fzf --preview="file {}" --preview-window=down,1
# Initial scroll offset is set to the line number of each line of
# git grep output *minus* 5 lines (-5)
@@ -520,7 +520,7 @@ e.g.
git grep --line-number '' |
fzf --delimiter : \\
--preview 'bat --style=full --color=always --highlight-line {2} {1}' \\
- --preview-window '~3:+{2}+3/2'
+ --preview-window '~3,+{2}+3/2'
# Display top 3 lines as the fixed header
fzf --preview 'bat --style=full --color=always {}' --preview-window '~3'\fR