summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-08-23 17:05:45 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-08-23 17:05:45 +0900
commit9dc4b40d7a185b0448a15f2e2c6f7c46be738550 (patch)
treef90de393c10d8cdafbb30f97cf478d029ce5f027 /man
parent1cb19dbf65590ffe44b60ac4d5ff7a957de0628f (diff)
Add more preview window options and reduce vertical padding on noborder
Fix #2138 Fix #2029
Diffstat (limited to 'man')
-rw-r--r--man/man1/fzf.16
1 files changed, 5 insertions, 1 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index 6408a4bb..2a668b2f 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -381,7 +381,7 @@ Preview window will be updated even when there is no match for the current
query if any of the placeholder expressions evaluates to a non-empty string.
.RE
.TP
-.BI "--preview-window=" "[POSITION][:SIZE[%]][:noborder][:wrap][:hidden][:+SCROLL[-OFFSET]]"
+.BI "--preview-window=" "[POSITION][:SIZE[%]][:rounded|sharp|noborder][:wrap][:hidden][:+SCROLL[-OFFSET]]"
Determines the layout of the preview window. If the argument contains
\fB:hidden\fR, the preview window will be hidden by default until
\fBtoggle-preview\fR action is triggered. Long lines are truncated by default.
@@ -390,6 +390,10 @@ Line wrap can be enabled with \fB:wrap\fR flag.
If size is given as 0, preview window will not be visible, but fzf will still
execute the command in the background.
+To change the style of the border of the preview window, specify one of
+\fBrounded\fR (border with rounded edges, default), \fBsharp\fR (border with
+sharp edges), or \fBnoborder\fR (no border).
+
\fB+SCROLL[-OFFSET]\fR determines the initial scroll offset of the preview
window. \fBSCROLL\fR can be either a numeric integer or a single-field index
expression that refers to a numeric integer. The optional \fB-OFFSET\fR part is