From ef726ab06c57da6961785b4688975aded540a0d1 Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Mon, 29 Apr 2019 19:52:24 +0100 Subject: Add control arrow keys and home/end support in zsh --- Shell/zshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Shell/zshrc') 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 -- cgit v1.2.3-54-g00ecf