aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2019-04-29 19:52:24 +0100
committerVasil Zlatanov <v@skozl.com>2019-04-29 19:52:24 +0100
commitef726ab06c57da6961785b4688975aded540a0d1 (patch)
tree1de8b303ca0366f0006fbe3f40cb6ce961125999
parente4a85d0a86f94217f0a7badd64c927e0621e3627 (diff)
downloaddotfiles-ef726ab06c57da6961785b4688975aded540a0d1.tar.gz
dotfiles-ef726ab06c57da6961785b4688975aded540a0d1.tar.bz2
dotfiles-ef726ab06c57da6961785b4688975aded540a0d1.zip
Add control arrow keys and home/end support in zsh
-rw-r--r--Shell/zshrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/Shell/zshrc b/Shell/zshrc
index 8cde6c1..d8ecc5d 100644
--- a/Shell/zshrc
+++ b/Shell/zshrc
@@ -77,3 +77,9 @@ export ANDROID_HOME=/opt/android-sdk
## Fancy sysinfo
#~/bin/sysinfo
+
+bindkey "e[1~" beginning-of-line
+bindkey "e[4~" end-of-line
+# Control arrow keys
+bindkey '^[[1;5C' emacs-forward-word
+bindkey '^[[1;5D' emacs-backward-word