Move mapping to ctrl key

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-12-21 16:53:00 +01:00
parent 478f1ec990
commit f2f46ddd12
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -26,10 +26,10 @@ export LANG=en_US.UTF-8
export LC_CTYPE=${LANG} export LC_CTYPE=${LANG}
export TZ="Europe/Berlin" export TZ="Europe/Berlin"
## Map alt+← and alt+→ to move cursor word wise ## Map ctrl+← and ctrl+→ to move cursor word wise
bindkey -e bindkey -e
bindkey '^[[1;9C' forward-word bindkey '^[[1;5C' forward-word
bindkey '^[[1;9D' backward-word bindkey '^[[1;5D' backward-word
## Aliases ## Aliases
alias alpine='docker run --rm -ti alpine /bin/sh' alias alpine='docker run --rm -ti alpine /bin/sh'