From 0e348f9ae0c0058ffda469a903c38aae21bb8205 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 27 Jan 2014 16:37:40 +0100 Subject: [PATCH] Enabled vi mode in zsh. --- zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zshrc b/zshrc index 38c6713..745a4a3 100644 --- a/zshrc +++ b/zshrc @@ -40,3 +40,11 @@ fi source ~/.zsh_functions export EDITOR=vim export PATH=$PATH:/home/fab/bin + +#vi mode +bindkey -v +export KEYTIMEOUT=1 + +#backspace working after returning from command mode +bindkey '^?' backward-delete-char +bindkey '^h' backward-delete-char