X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/e22144cdaf54ae017a0b713914dbaaf0c63ab19a..2a0e079f0d236311f030e3fab721a171975d5ca2:/dot/zshrc diff --git a/dot/zshrc b/dot/zshrc index 660f846..a42e482 100644 --- a/dot/zshrc +++ b/dot/zshrc @@ -67,6 +67,20 @@ bindkey "\e^l" down-case-word-shell bindkey "\ec" capitalize-word-bash bindkey "\e^c" capitalize-word-shell +bindkey "\e[1~" beginning-of-line "\e[4~" end-of-line + +bindkey -s "\eOQ" "/" "\eOR" "*" "\eOS" "-" +bindkey -s "\eOw" "7" "\eOx" "8" "\eOy" "9" +bindkey -s "\eOt" "4" "\eOu" "5" "\eOv" "6" "\eOk" "+" +bindkey -s "\eOq" "1" "\eOr" "2" "\eOs" "3" +bindkey -s "\eOp" "0" "\eOn" "."; bindkey "\eOM" accept-line + +bindkey -s "\eOQ" "/" "\eOR" "*" "\eOS" "-" +bindkey -s "\eOw" "7" "\eOx" "8" "\eOy" "9" +bindkey -s "\eOt" "4" "\eOu" "5" "\eOv" "6" "\eOk" "+" +bindkey -s "\eOq" "1" "\eOr" "2" "\eOs" "3" +bindkey -s "\eOp" "0" "\eOn" "."; bindkey "\eOM" accept-line + bindkey "\ep" history-beginning-search-backward bindkey "\en" history-beginning-search-forward