From 667bd563a168534756a8ac892193bbaf1b82d0c5 Mon Sep 17 00:00:00 2001 From: Sankara Rameswaran Date: Thu, 3 Mar 2011 18:24:49 +0530 Subject: [PATCH] Adding a couple of more useful key bindings --- lib/key-bindings.zsh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh index 7196a88ff..eefc84625 100644 --- a/lib/key-bindings.zsh +++ b/lib/key-bindings.zsh @@ -40,3 +40,9 @@ bindkey '^[[Z' reverse-menu-complete ## Fix weird sequence that rxvt produces #bindkey -s '^[[Z' '\t' # + +#Completion in the middle of a line +bindkey '^i' expand-or-complete-prefix +##pushes current command on command stack and gives blank line, after that line runs command stack is popped +bindkey "^t" push-line-or-edit +