From 0d3a2161c4ad6831c4bee5ee4b0fff55cbfd4cac Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 27 Jan 2014 17:26:31 +0100 Subject: [PATCH] Improved history in command mode. --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index 745a4a3..c24b91e 100644 --- a/zshrc +++ b/zshrc @@ -45,6 +45,9 @@ export PATH=$PATH:/home/fab/bin bindkey -v export KEYTIMEOUT=1 +bindkey -M vicmd 'k' history-beginning-search-backward +bindkey -M vicmd 'j' history-beginning-search-forward + #backspace working after returning from command mode bindkey '^?' backward-delete-char bindkey '^h' backward-delete-char