File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -741,7 +741,7 @@ ENVIRONMENT VARIABLES EXPORTED TO CHILD PROCESSES.
741741
742742e.g.
743743 \fB # Prepend the current cursor position in yellow
744- fzf \-\- info \- command='echo \- e " \\x 1b[33;1 m$FZF_POS \\x 1b[m/$FZF_INFO 💛"'\fR
744+ fzf \-\- info \- command='printf " \\x 1b[33;1 m$FZF_POS \\x 1b[m/$FZF_INFO 💛"'\fR
745745
746746.TP
747747.B "\-\- no\- info"
841841 # This won't work properly without 'f' flag due to ARG_MAX limit.
842842 seq 100000 | fzf \-\- preview "awk '{sum+= \\$1 } END {print sum}' {*f}" \fR
843843
844+ \fB # Use {+f} to get the selected items as a line-separated list
845+ seq 100 | fzf \-\- multi \-\- bind 'enter:become:cat {+f}' \fR
846+
844847Also,
845848
846849* \fB {q} \fR is replaced to the current query string
@@ -2106,7 +2109,7 @@ payload of HTTP POST request to the \fB\-\-listen\fR server.
21062109
21072110e.g.
21082111 \fB # Disallow selecting an empty line
2109- echo \- e "1. Hello \\n 2 . Goodbye \\n \ \n 3 . Exit" |
2112+ printf "1. Hello \\n 2 . Goodbye \\n \ \n 3 . Exit" |
21102113 fzf \-\- height '~100%' \-\- reverse \-\- header 'Select one' \\
21112114 \-\- bind 'enter:transform:[[ \- n {} ]] &&
21122115 echo accept ||
You can’t perform that action at this time.
0 commit comments