diff options
Diffstat (limited to 'shell/zsh/.zshrc')
| -rw-r--r-- | shell/zsh/.zshrc | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc index 1d7d2b4..0b133b8 100644 --- a/shell/zsh/.zshrc +++ b/shell/zsh/.zshrc @@ -16,8 +16,11 @@ PROMPT='[%F{green}%n%f@%m %F{green}%~%f $(git_super_status)]$ ' . /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh . /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh -bindkey '\e[1~' beginning-of-line # Home -bindkey '\e[4~' end-of-line # End -bindkey '\e[3~' delete-char # Delete -bindkey '^[[A' history-substring-search-up # Up -bindkey '^[[B' history-substring-search-down # Down +bindkey '\e[1~' beginning-of-line # Home +bindkey '\e[4~' end-of-line # End +bindkey '\e[3~' delete-char # Delete +bindkey '^[[A' history-substring-search-up # Up +bindkey '^[[B' history-substring-search-down # Down + +bindkey '^[[1;5D' backward-word # Ctrl+Left +bindkey '^[[1;5C' forward-word # Ctrl+Right |
