summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh/zshrc')
-rw-r--r--dot_config/zsh/zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/zsh/zshrc b/dot_config/zsh/zshrc
index e7a20eb..b9e7785 100644
--- a/dot_config/zsh/zshrc
+++ b/dot_config/zsh/zshrc
@@ -13,6 +13,11 @@ zle -N elevate-cmd
bindkey -e
bindkey '^x^e' edit-command-line
bindkey '^[s' elevate-cmd
+# {ctrl,alt}-{left,right}
+bindkey '^[[1;3D' backward-word
+bindkey '^[[1;3C' forward-word
+bindkey '^[[1;5D' backward-word
+bindkey '^[[1;5C' forward-word
### Functions, Aliases
autoload -Uz xfirstcmd