zsh: fix history search w/arrow keys

This commit is contained in:
Daniel Lundin 2020-10-19 12:20:28 +02:00
parent 35534e8c1c
commit 602ba38499
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC

4
.zshrc
View file

@ -97,8 +97,8 @@ zle -N _jump
## Keybindings
bindkey -e
bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down
bindkey '^[[A' history-beginning-search-backward
bindkey '^[[B' history-beginning-search-forward
bindkey '^P' history-beginning-search-backward
bindkey '^N' history-beginning-search-forward
bindkey '^g' _jump