aboutsummaryrefslogtreecommitdiff
path: root/zsh/.zsh/keybindings.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/.zsh/keybindings.zsh')
-rwxr-xr-xzsh/.zsh/keybindings.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zsh/keybindings.zsh b/zsh/.zsh/keybindings.zsh
index 2f80417..5959ab4 100755
--- a/zsh/.zsh/keybindings.zsh
+++ b/zsh/.zsh/keybindings.zsh
@@ -49,3 +49,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
zle -N zle-line-init
zle -N zle-line-finish
fi
+
+# Navigate words with ctrl+arrow keys
+bindkey '^[[1;5D' backward-word
+bindkey '^[[1;5C' forward-word