This commit is contained in:
2021-11-15 00:26:15 +04:00
parent 8583c61d95
commit 081dc5ccc1
10 changed files with 64 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
function __fzf_reverse_isearch
history merge
history -z | eval (__fzfcmd) --read0 --tiebreak=index --toggle-sort=ctrl-r $FZF_DEFAULT_OPTS $FZF_REVERSE_ISEARCH_OPTS -q '(commandline)' | perl -pe 'chomp if eof' | read -lz result
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