X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/818cdbb47447afd13861314f83a454f650892256..2b0e0a9e21db6723de20170ff91019b32559341f:/dot/zshrc diff --git a/dot/zshrc b/dot/zshrc index 8ee287a..4dc0fb7 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -30,6 +30,8 @@ fi ###-------------------------------------------------------------------------- ### Line editing. +case $TERM in dumb) unsetopt zle ;; esac + bindkey -e for w in \ @@ -59,8 +61,8 @@ bindkey "\et" transpose-words-bash bindkey "\e^t" transpose-words-shell bindkey "\eu" up-case-word-bash bindkey "\e^u" up-case-word-shell -bindkey "\el" up-case-word-bash -bindkey "\e^l" up-case-word-shell +bindkey "\el" down-case-word-bash +bindkey "\e^l" down-case-word-shell bindkey "\ec" capitalize-word-bash bindkey "\e^c" capitalize-word-shell