diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 0573aaa..07f57c2 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -277,20 +277,14 @@ source /usr/share/over-env/prompt-init export PYTHONSTARTUP="/usr/share/over-env/python-startup.py" # keyboard stuff -bindkey "\e[1~" beginning-of-line -bindkey "\e[2~" quoted-insert -bindkey "\e[3~" delete-char -bindkey "\e[4~" end-of-line -bindkey "\e[5~" beginning-of-history -bindkey "\e[6~" end-of-history -bindkey "\e[7~" beginning-of-line -bindkey "\e[8~" end-of-line -bindkey "\e[H" beginning-of-line -bindkey "\e[F" end-of-line -bindkey "\eOH" beginning-of-line -bindkey "\eOF" end-of-line -bindkey "\eOd" backward-word -bindkey "\eOc" forward-word +bindkey "\e[3~" delete-char # Delete +bindkey "\e[1~" beginning-of-line # Home +bindkey "\e[4~" end-of-line # End +bindkey "\e[5~" beginning-of-history # PgUp +bindkey "\e[6~" end-of-history # PgDn +bindkey "\e[1;5D" backward-word # Ctrl ← +bindkey "\e[1;5C" forward-word # Ctrl → + # load syntax highlighting if available; Gentoo and Arch paths are tried for HPATH in "/usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh" "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"