From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27623 invoked from network); 23 Jan 2006 19:56:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Jan 2006 19:56:06 -0000 Received: (qmail 71996 invoked from network); 23 Jan 2006 19:55:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jan 2006 19:55:53 -0000 Received: (qmail 23960 invoked by alias); 23 Jan 2006 19:55:45 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9848 Received: (qmail 23918 invoked from network); 23 Jan 2006 19:55:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Jan 2006 19:55:44 -0000 Received: (qmail 70922 invoked from network); 23 Jan 2006 19:55:44 -0000 Received: from zproxy.gmail.com (64.233.162.196) by a.mx.sunsite.dk with SMTP; 23 Jan 2006 19:55:42 -0000 Received: by zproxy.gmail.com with SMTP id l8so1037756nzf for ; Mon, 23 Jan 2006 11:55:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:sent-from-pda:user-agent; b=qKVsjXR4hIRSzU9Uw8WDS381WFbU2iY8a5z2q9E25NQG3ZfreTZB8GKVJkynpWziBh50wHB3yhQBjFAw7wJDcGPO1dC9htjGk4Cbx8WrLDk1jLYNcLeE17WeKgnBEqeC30L8Fh53sM9qqDBUKda2RU23qoqp7Yoeu7kpxvmLb1E= Received: by 10.64.143.19 with SMTP id q19mr903230qbd; Mon, 23 Jan 2006 11:55:36 -0800 (PST) Received: from localhost ( [204.107.76.229]) by mx.gmail.com with ESMTP id f13sm2770079qba.2006.01.23.11.55.32; Mon, 23 Jan 2006 11:55:35 -0800 (PST) Date: Mon, 23 Jan 2006 14:55:19 -0500 From: Mike Hernandez To: Fabian Braennstroem Cc: zsh-users@sunsite.dk Subject: Re: change color depending on vi-mode Message-ID: <20060123195519.GC12237@dementia.beyondnormal.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sent-From-PDA: Yes User-Agent: Mutt/1.5.9i On Mon, Jan 23, 2006 at 12:19:33PM +0100, Fabian Braennstroem wrote: > Hi, > > I am pretty new to zsh and like it a lot. As a prompt style > I use 'adam2'. Now, I would like to know, if it is possible > to display some information or change the color of the bar > depending on the current vi-mode? E.g. I would like to have > a red line in insert-mode and a blue line in > navigation-mode. > Check this out: http://www.gott-gehabt.de/800_wer_wir_sind/thomas/Homepage/Computer/zsh/vi-showmode There are instances where it can act strangely, but for the most part it works rather well. Mike H