On Sat, Nov 17, 2007 at 04:56:13PM +0100, Michelle Konzack wrote:
From: Michelle Konzack <linux4michelle@xxxxxxxxxx> To: mutt-users@xxxxxxxx Subject: Re: alternate editor ? Organisation: Michelle's Selbstgebrautes Am 2007-11-11 20:29:01, schrieb Gerard Robin:Hello, is it possible to do write this in the file .muttrc (in muttrc language) : if $DISPLAY=:0.0 then editor="gedit" else edtor=vimset editor=`if [ ${DISPLAY} = ":0.0" ] ; then echo gedit ; else echo vim ; fi`
Thanks, it works fine too with gedit, but not with "gvim -f", I get the message: -f unknown variable. -- Gérard