diff --git a/system/.config/zsh/.zshrc b/system/.config/zsh/.zshrc index a183e15..598180c 100644 --- a/system/.config/zsh/.zshrc +++ b/system/.config/zsh/.zshrc @@ -16,20 +16,13 @@ setopt prompt_subst unsetopt correct + # Zsh keybindings -bindkey "\e[H" beginning-of-line -bindkey "\e[F" end-of-line -bindkey "\e[5~" beginning-of-history -bindkey "\e[6~" end-of-history -bindkey "\e[3~" delete-char -bindkey "\e[2~" quoted-insert -bindkey "\e[5C" forward-word -bindkey "\eOc" emacs-forward-word -bindkey "\e[5D" backward-word -bindkey "\eOd" emacs-backward-word -bindkey "\ee[C" forward-word -bindkey "\ee[D" backward-word -bindkey "^H" backward-delete-word + +# Ctrl + Left +bindkey "^[[1;5C" forward-word +# Ctrl + Right +bindkey "^[[1;5D" backward-word # Enable autocompletion features autoload -Uz compinit