zsh ctrl+r mapping

This commit is contained in:
thek4n 2025-01-26 19:13:32 +03:00
parent 6fcf277359
commit 9440caf156

View File

@ -93,7 +93,7 @@ bindkey -M vicmd "^O" cddotdot
fzfhistory() {
LBUFFER="$(history -n 0 | fzf --tac --no-multi --height="$(($LINES/4))" --query="$BUFFER")"
LBUFFER="$(history -n 0 | fzf --tac --no-multi --no-sort --height="$(($LINES/4))" --query="$BUFFER")"
zle reset-prompt
}
zle -N fzfhistory