summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-06 00:44:59 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2025-01-06 00:44:59 +0900
commit0e0b86834294e1befb9e1ce16239230aa40d1add (patch)
tree4e8fec876561cdb810299c0126a838f27d7b9553 /man
parenta5beb08ed72215e8b015851ad70bf3beca526429 (diff)
downloadfzf-0e0b86834294e1befb9e1ce16239230aa40d1add.tar.gz
Add preview border style 'line'
It draws a single line between the preview window and the rest of the interface. i.e. automatically choose between 'left', 'right', 'top', and 'bottom' depending on the position of the preview window.
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.111
1 files changed, 9 insertions, 2 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 16421c7b..cc80c1a4 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -775,7 +775,10 @@ e.g.
.TP
.BI "\-\-preview\-border" [=STYLE]
-Short for \fB\-\-preview\-window=border\-STYLE\fR
+Short for \fB\-\-preview\-window=border\-STYLE\fR. In addition to the other
+styles, \fBline\fR style is also supported for preview border, which draws
+a single separator line between the preview window and the rest of the
+interface.
.TP
.BI "\-\-preview\-label" [=LABEL]
@@ -812,7 +815,7 @@ default value 0 (or \fBcenter\fR) will put the label at the center of the
border line.
.TP
-.BI "\-\-preview\-window=" "[POSITION][,SIZE[%]][,border\-BORDER_OPT][,[no]wrap][,[no]follow][,[no]cycle][,[no]info][,[no]hidden][,+SCROLL[OFFSETS][/DENOM]][,~HEADER_LINES][,default][,<SIZE_THRESHOLD(ALTERNATIVE_LAYOUT)]"
+.BI "\-\-preview\-window=" "[POSITION][,SIZE[%]][,border\-STYLE][,[no]wrap][,[no]follow][,[no]cycle][,[no]info][,[no]hidden][,+SCROLL[OFFSETS][/DENOM]][,~HEADER_LINES][,default][,<SIZE_THRESHOLD(ALTERNATIVE_LAYOUT)]"
.RS
.B POSITION: (default: right)
@@ -855,6 +858,10 @@ e.g. \fBborder\-rounded\fR (border with rounded edges, default),
\fBborder\-sharp\fR (border with sharp edges), \fBborder\-left\fR,
\fBborder\-none\fR, etc.
+* In addition to the other border styles, \fBborder\-line\fR style is also
+supported, which draws a single separator line between the preview window and
+the rest of the interface.
+
* \fB[:+SCROLL[OFFSETS][/DENOM]]\fR determines the initial scroll offset of the
preview window.