why can't mutt use gvim to compose messages?
- To: mutt <mutt-users@xxxxxxxx>
- Subject: why can't mutt use gvim to compose messages?
- From: phyrster <phyrster@xxxxxxxxx>
- Date: Fri, 28 Oct 2005 22:39:29 +0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=ZrdlHcz4FtqX8YjSmFofACadcvaAXH6DgcjHZgZoKbKE4kxppE617IhbzW710X5QuceQoj08/Dl8vew+tez2+e1x0a/ZcjFu3hwJvdvT1xNelse2id6zJGomALVzSoMAzQ+/YHV/I9uoZCdCP/ZrLnaNTgRUPACSGEqNTwuQ+tk=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt <mutt-users@xxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.11
Hi mutters,
I tried using gvim to compose message under mutt, but when I write and quit
gvim, mutt prompted
"Aborted unmodified message."
but with vim under X terminal, it worked very well.
Here is the line in my .muttrc
|set editor="/usr/bin/gvim +':set nopaste' +':set textwidth=77' +':set wrap'
+\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"
What's going wrong here?
regards,
bxuef