From f2f46ddd12ee496e094bdec2f0dde20211e39141 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 21 Dec 2017 16:53:00 +0100 Subject: [PATCH] Move mapping to ctrl key Signed-off-by: Knut Ahlers --- .zsh/config.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.zsh/config.sh b/.zsh/config.sh index 7e4e0fb..f98bc82 100644 --- a/.zsh/config.sh +++ b/.zsh/config.sh @@ -26,10 +26,10 @@ export LANG=en_US.UTF-8 export LC_CTYPE=${LANG} 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 '^[[1;9C' forward-word -bindkey '^[[1;9D' backward-word +bindkey '^[[1;5C' forward-word +bindkey '^[[1;5D' backward-word ## Aliases alias alpine='docker run --rm -ti alpine /bin/sh'