zsh ctrl+r mapping
This commit is contained in:
parent
6fcf277359
commit
9440caf156
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user