From 31d23dcd3a32c7cd29489b6f1fc5aa4410001cc0 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 22 Dec 2007 00:12:12 +0100 Subject: [PATCH] Apply patch from issue350 --- debian/changelog | 8 ++++++++ etc/zsh/zshrc | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/debian/changelog b/debian/changelog index fcc5f64..58692aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-etc-core (0.3.45) unstable; urgency=low + + [ Alexander Steinböck ] + * /etc/zsh/zshrc: added bindkeys for navigating by vi keys (hjkl) + in menu selection [Closes: issue350] + + -- Michael Prokop Sat, 22 Dec 2007 00:11:31 +0100 + grml-etc-core (0.3.44) unstable; urgency=low [ Frank Terbeck ] diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index d7f98e3..95c910a 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -412,6 +412,12 @@ bindkey '^Xi' insert-unicode-char # bindkey . rationalise-dot # bindkey '\eq' push-line-or-edit + +# use the vi navigation keys (hjkl) besides cursor keys in menu selection + bindkey -M menuselect 'h' vi-backward-char # left + bindkey -M menuselect 'k' vi-up-line-or-history # up + bindkey -M menuselect 'l' vi-forward-char # right + bindkey -M menuselect 'j' vi-down-line-or-history # bottom # }}} # power completion - abbreviation expansion {{{ -- 2.1.4