summaryrefslogtreecommitdiffstats
path: root/man/man1
diff options
context:
space:
mode:
authorZDNoFYVe <5420669+ZDNoFYVe@users.noreply.github.com>2018-03-30 02:47:46 +0000
committerJunegunn Choi <junegunn.c@gmail.com>2018-03-30 11:47:46 +0900
commit43345fb642399c43f25ccae94cec0bef773bf437 (patch)
treeb4adc3aee1ea1e517e49e7066ea6cc2534bc3f90 /man/man1
parent9ff33814eadcf2be766d0bfe7f3f87f8645b6b5e (diff)
Implement flag for preserving whitespace around field (#1242)
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/fzf.13
1 files changed, 3 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1
index a0a990d4..1e5ab773 100644
--- a/man/man1/fzf.1
+++ b/man/man1/fzf.1
@@ -285,6 +285,9 @@ was made) individually quoted.
e.g. \fBfzf --multi --preview='head -10 {+}'\fR
\fBgit log --oneline | fzf --multi --preview 'git show {+1}'\fR
+When using a field index expression, leading and trailing whitespace is stripped
+from the replacement string. To preserve the whitespace, use the \fBs\fR flag.
+
Also, \fB{q}\fR is replaced to the current query string.
Note that you can escape a placeholder pattern by prepending a backslash.