Re: OT: column 72 in mutt with xterm vim

2008-03-13 Thread Rejo Zenger
++ 12/03/08 10:12 +0100 - Matthias Apitz: Well, is there some way to draw a magic vertical line in the xterm or 'vim' in column 72? I am using in my .muttrc: set editor = 'vim -c set tw=72 +2' This tells vim the textwidth is maximum at 72 characters. When typing text normaly, it will

OT: column 72 in mutt with xterm vim

2008-03-12 Thread Matthias Apitz
Hello, This question is mutt related but perhaps a bit off-topic; but maybe of interest of more mutt users ... I'm using mutt and writing e-mails with a 'vim' in a xterm window; the line length of this xterm window is pulled to more than 80 columns so other output fits better (for example of

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Corsair
Hi~ On Wed, Mar 12, 2008 at 10:12:29AM +0100, Matthias Apitz wrote: I'm using mutt and writing e-mails with a 'vim' in a xterm window; the line length of this xterm window is pulled to more than 80 columns so other output fits better (for example of 'ls'); of course I don't want to type

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Christian Brabandt
Hi Matthias! On Wed, 12 Mar 2008, Matthias Apitz wrote: I'm using mutt and writing e-mails with a 'vim' in a xterm window; the line length of this xterm window is pulled to more than 80 columns so other output fits better (for example of 'ls'); of course I don't want to type behind column 72

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Chris G
On Wed, Mar 12, 2008 at 10:12:29AM +0100, Matthias Apitz wrote: Hello, This question is mutt related but perhaps a bit off-topic; but maybe of interest of more mutt users ... I'm using mutt and writing e-mails with a 'vim' in a xterm window; the line length of this xterm window is

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread rhardman
* À 20080312-1012_Wed, Matthias Apitz ([EMAIL PROTECTED]) écrivit: Hello, This question is mutt related but perhaps a bit off-topic; but maybe of interest of more mutt users ... I'm using mutt and writing e-mails with a 'vim' in a xterm window; the line length of this xterm window is

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Matthias Apitz
El día Wednesday, March 12, 2008 a las 12:07:52PM +0100, rhardman escribió: * À 20080312-1012_Wed, Matthias Apitz ([EMAIL PROTECTED]) écrivit: Hello, This question is mutt related but perhaps a bit off-topic; but maybe of interest of more mutt users ... I'm using mutt and

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Dilip M
On Wed, Mar 12, 2008 at 4:31 PM, [EMAIL PROTECTED] wrote: ... You can let vim wrap automatically, whenever you reach a certain column. This can be set using :set textwidth. My vim comes with a filetype plugin mail.vim which sets the textwidth automatically to 70, whenever vim recognizes a mail

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Christian Brabandt
Hi Dilip! On Wed, 12 Mar 2008, Dilip M wrote: On Wed, Mar 12, 2008 at 4:31 PM, [EMAIL PROTECTED] wrote: ... You can let vim wrap automatically, whenever you reach a certain column. This can be set using :set textwidth. My vim comes with a filetype plugin mail.vim which sets the textwidth

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Jānis Rūcis
Hi Matthias, On Wed, Mar 12, 2008 at 10:12:29AM +0100, Matthias Apitz wrote: Well, is there some way to draw a magic vertical line in the xterm or 'vim' in column 72? There isn't explicit support for it in Vim, as far as I know. However, I've discovered that Vim's window borders work just as

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, March 12 at 10:12 AM, quoth Matthias Apitz: Well, is there some way to draw a magic vertical line in the xterm or 'vim' in column 72? Kinda. Inside vim, try this: :72vs Of course, that's going to put a copy of your email over in

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Dilip M
Hi Christian, On Wed, Mar 12, 2008 at 5:29 PM, [EMAIL PROTECTED] wrote: ... Does set ft=mail and sync=on activates it? Well, if it isn't done automatically, it should ;) I have set set editor=/usr/bin/vim -c 'set fo=tcrq ft=mail ff=unix tw=74' in my ~/.muttrc. But still it is not automatic.

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, March 12 at 10:06 PM, quoth Dilip M: On Wed, Mar 12, 2008 at 5:29 PM, [EMAIL PROTECTED] wrote: Does set ft=mail and sync=on activates it? Well, if it isn't done automatically, it should ;) I have set set editor=/usr/bin/vim -c 'set

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Christian Brabandt
Hi Kyle! On Wed, 12 Mar 2008, Kyle Wheeler wrote: On Wednesday, March 12 at 06:18 PM, quoth Christian Brabandt: (By the way, I just tried setl fo+=a, but I did not like it, cause it keeps on joining files that I want to keep separate) Lines, you mean? Yeah, I know. I always use that

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, March 12 at 06:18 PM, quoth Christian Brabandt: (By the way, I just tried setl fo+=a, but I did not like it, cause it keeps on joining files that I want to keep separate) Lines, you mean? Yeah, I know. I always use that auto-wrapping

Re: OT: column 72 in mutt with xterm vim

2008-03-12 Thread Dilip M
On Wed, Mar 12, 2008 at 10:16 PM, [EMAIL PROTECTED] wrote: ... That's not what he meant by automatic - what he meant was that vim should know that the filetype (ft) is mail without you having to specify it. BUT, if it helps, you *can* have vim automatically keep your lines to within 72