From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18707 invoked by alias); 1 Nov 2013 01:34:02 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18082 Received: (qmail 29539 invoked from network); 1 Nov 2013 01:33:46 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131031183339.ZM9452@torch.brasslantern.com> Date: Thu, 31 Oct 2013 18:33:39 -0700 In-reply-to: Comments: In reply to Jesse Hathaway "Re: Duplicating TRANSIENT_RPROMPT for left PROPMT?" (Oct 31, 1:01pm) References: <131023064759.ZM9762@torch.brasslantern.com> <131025102311.ZM9171@torch.brasslantern.com> <131029231921.ZM7202@torch.brasslantern.com> <131030115149.ZM8228@torch.brasslantern.com> <131031080946.ZM9189@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: ZSH Users Mailing List Subject: Re: Duplicating TRANSIENT_RPROMPT for left PROPMT? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Oct 31, 1:01pm, Jesse Hathaway wrote: } } > } I tried grabbing the latest tarball from the website and compiling it, } > } > I wouldn't have expected this to be a problem that would fix anyway ... } } I thought it was a long shot, I just wanted to make sure debian had not } added some strange patch. Well, I just tried an older version (zsh-5.0.2-108-ga6ba892) and it goes into an infinite loop in zle-line-init when calling zle redisplay. So some of what I wrote may be pretty dangerous advice if you don't have the latest from CVS (effectively, zsh 5.0.3). Consequently I suggest you try this: zle-keymap-select() { vim_mode="${${KEYMAP/vicmd/${vim_cmd_mode}}/(main|viins)/${vim_ins_mode}}" POSTDISPLAY="$vim_mode $KEYMAP" [[ $WIDGET != zle-line-init ]] && zle redisplay }