Skip to content
Myr

key-bindings.fish: Yank commandline in fzf-history-widget

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

authored by Pierre Neidhardt · committed by Pierre Neidhardt · parent 3222d62 · 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