diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/zsh/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 10887eb..06c5713 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -228,6 +228,12 @@ bindkey "^W" backward-kill-word bindkey "^H" backward-delete-char # Control-h also deletes the previous char bindkey "^U" backward-kill-line +bindkey "^[n" down-line-or-history +bindkey "^[p" up-line-or-history +bindkey "^N" history-search-forward # or you can bind it to the down key "^[[B" +bindkey "^P" history-search-backward # or you can bind it to Up key "^[[A" +bindkey '^X' autosuggest-execute +bindkey '^Y' autosuggest-accept # Edit line in vim with alt-e autoload edit-command-line; zle -N edit-command-line |
