Skip to content
Myr

Merge pull request #698 from Ambrevar/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

[fish] Yank commandline in fzf-history-widget

authored by Junegunn Choi · committed by GitHub · parents 3222d62, 2134c0c · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:shell/key-bindings.fish+2 added-2 removed
24 unmodified lines
25 rm -f $TMPDIR/fzf.result26 end2728 function fzf-history-widget29 history | eval (__fzfcmd) +s +m --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS > $TMPDIR/fzf.result30 and commandline (cat $TMPDIR/fzf.result)29 history | eval (__fzfcmd) +s +m --tiebreak=index --toggle-sort=ctrl-r $FZF_CTRL_R_OPTS -q '(commandline)' > $TMPDIR/fzf.result30 and commandline -- (cat $TMPDIR/fzf.result)31 commandline -f repaint32 rm -f $TMPDIR/fzf.result33 end34
37 unmodified lines