1
0
Fork 0
fishdots/functions/__fzf_reverse_isearch.fish

7 lines
280 B
Fish

function __fzf_reverse_isearch
history merge
history -z | eval (__fzfcmd) --read0 --print0 --tiebreak=index --toggle-sort=ctrl-r $FZF_DEFAULT_OPTS $FZF_REVERSE_ISEARCH_OPTS -q '(commandline)' | read -lz result
and commandline -- $result
commandline -f repaint
end