From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21759 invoked by alias); 15 May 2014 01:48:28 -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: 18810 Received: (qmail 19219 invoked from network); 15 May 2014 01:48:22 -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: <140514184807.ZM24732@torch.brasslantern.com> Date: Wed, 14 May 2014 18:48:07 -0700 In-reply-to: <1400098682.27302.YahooMailNeo@web172703.mail.ir2.yahoo.com> Comments: In reply to Sepp Tannhuber "vi-mode: editor function" (May 14, 9:18pm) References: <1400098682.27302.YahooMailNeo@web172703.mail.ir2.yahoo.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "zsh-users@zsh.org" Subject: Re: vi-mode: editor function MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On May 14, 9:18pm, Sepp Tannhuber wrote: } Subject: vi-mode: editor function } } I have written a theme for the oh-my-zsh prompt from robbyrussel } because I was sometimes confused about the different vi modes. My } prompt shows, at a glance, which vi mode is active, similar to the vim } airline plugin. [...] } Unfortunately I could not find something like vi-editor it in the } zshzle manual. Has anybody an idea what I can use instead? Or what is } the default vicmd for [v]? There is no default binding for v in vicmd mode, so you are encountering something installed for you by oh-my-zsh. Most likely it is the user- contributed edit-command-line widget (man zshcontrib). If oh-my-zsh hasn't already pre-empted the zle-line-init, zle-line-finish, and zle-keymap-select widgets, you might find it more effective to set the MODE variable with those, rather than trying to override all the individual widgets that might change mode.