m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Add 'put' action for putting the character to the prompt

fzf --bind 'space:preview(date)+put'

Close #2456
This commit is contained in:
Junegunn Choi
2021-11-04 00:49:05 +09:00
parent f799b568d1
commit 673c5d886d
2 changed files with 7 additions and 0 deletions

View File

@@ -860,6 +860,7 @@ A key or an event can be bound to one or more of the following actions.
\fBpreview-top\fR
\fBprevious-history\fR (\fIctrl-p\fR on \fB--history\fR)
\fBprint-query\fR (print query and exit)
\fBput\fR (put the character to the prompt)
\fBrefresh-preview\fR
\fBreload(...)\fR (see below for the details)
\fBreplace-query\fR (replace query string with the current selection)