diff options
Diffstat (limited to 'dotfiles/.config')
-rw-r--r-- | dotfiles/.config/zsh/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dotfiles/.config/zsh/.zshrc b/dotfiles/.config/zsh/.zshrc index 727bfe0..a744585 100644 --- a/dotfiles/.config/zsh/.zshrc +++ b/dotfiles/.config/zsh/.zshrc @@ -38,6 +38,12 @@ bindkey -M menuselect 'L' vi-forward-char bindkey -M menuselect 'J' vi-down-line-or-history bindkey -v '^?' backward-delete-char +# History search +bindkey "^[[A" history-search-backward +bindkey "^[[B" history-search-forward +bindkey -a "k" history-search-backward +bindkey -a "j" history-search-forward + # Change cursor shape for different vi modes. function zle-keymap-select { if [[ ${KEYMAP} == vicmd ]] || |