Re: vim and mutt question

2001-03-27 Thread Peter Poeml
On Sat, Mar 24, 2001 at 01:47:25PM +0200, Peter Pentchev wrote: On Sat, Mar 24, 2001 at 01:06:22AM -0800, Jason Helfman wrote: According to the note, it would be OK to do something like: set editor="vim -c 'set tw=72 et' -c ':0;/^$' You can also put things like autocmd BufRead

Re: vim and mutt question

2001-03-26 Thread Horace G. Friend III
On Sun, Mar 25, 2001 at 12:35:42PM -0500, Wade A. Mosely wrote: Timothy Legant wrote: You might not always want to move down 6 lines. Perhaps in the future you will add a new header (using my_hdr) to certain messages. You might want to consider the following instead: set editor="vim

Re: vim and mutt question

2001-03-26 Thread Horace G. Friend III
On Mon, Mar 26, 2001 at 04:40:20PM +0200, [EMAIL PROTECTED] wrote: "Horace G. Friend III" [EMAIL PROTECTED] wrote: I would like to ask a question since the search command has a side-effect in the editor. Since the "-c ':$;?^$'" is a search command for a blank line, it leaves blank

Re: vim and mutt question

2001-03-25 Thread Wade A. Mosely
Timothy Legant wrote: You might not always want to move down 6 lines. Perhaps in the future you will add a new header (using my_hdr) to certain messages. You might want to consider the following instead: set editor="vim -c ':0;/^$'" which will search for and move to the first blank line.

Re: vim and mutt question

2001-03-24 Thread Timothy Legant
On Sat, Mar 24, 2001 at 09:59:45AM +0200, Peter Pentchev wrote: On Sat, Mar 24, 2001 at 07:35:12AM +, Viktor Lakics wrote: Hi All, I have an autocommand for temporary mutt files. I want to move the cursor down 6 positions automatically when I start a new mail (this would move the

Re: vim and mutt question

2001-03-24 Thread Peter Pentchev
On Sat, Mar 24, 2001 at 02:31:29AM -0600, Timothy Legant wrote: On Sat, Mar 24, 2001 at 09:59:45AM +0200, Peter Pentchev wrote: On Sat, Mar 24, 2001 at 07:35:12AM +, Viktor Lakics wrote: Hi All, I have an autocommand for temporary mutt files. I want to move the cursor down 6

Re: vim and mutt question

2001-03-24 Thread Gary Johnson
On Sat, Mar 24, 2001 at 07:35:12AM +, Viktor Lakics wrote: I have an autocommand for temporary mutt files. I want to move the cursor down 6 positions automatically when I start a new mail (this would move the cursor right under the headers (i use edit headers). But i can't seem to figure

Re: vim and mutt question

2001-03-24 Thread Jason Helfman
I'd like to use this setting, too, but right now I have: set editor="vim -c 'set tw=72 et'" Can I incorporate this into it?? set editor="vim -c ':0;/^$'" On Sat, Mar 24, 2001 at 02:31:29AM -0600, Timothy Legant muttered: | On Sat, Mar 24, 2001 at 09:59:45AM +0200, Peter Pentchev wrote: | On

Re: vim and mutt question

2001-03-24 Thread Peter Pentchev
On Sat, Mar 24, 2001 at 01:06:22AM -0800, Jason Helfman wrote: I'd like to use this setting, too, but right now I have: set editor="vim -c 'set tw=72 et'" Can I incorporate this into it?? set editor="vim -c ':0;/^$'" From the vim manpage: -c {command}

Re: vim and mutt question

2001-03-24 Thread Peter Pentchev
And btw, mail to the [EMAIL PROTECTED] address bounces. G'luck, Peter -- I am the thought you are now thinking. On Sat, Mar 24, 2001 at 01:47:25PM +0200, Peter Pentchev wrote: On Sat, Mar 24, 2001 at 01:06:22AM -0800, Jason Helfman wrote: I'd like to use this setting, too, but right now I

Re: vim and mutt question

2001-03-24 Thread John P. Verel
You might not always want to move down 6 lines. Perhaps in the future you will add a new header (using my_hdr) to certain messages. You might want to consider the following instead: set editor="vim -c ':0;/^$'" which will search for and move to the first blank line. In an email message

vim and mutt question

2001-03-23 Thread Viktor Lakics
Hi All, I have an autocommand for temporary mutt files. I want to move the cursor down 6 positions automatically when I start a new mail (this would move the cursor right under the headers (i use edit headers). But i can't seem to figure out how to do this from a vimrc file... Any help? TIA --

Re: vim and mutt question

2001-03-23 Thread Peter Pentchev
On Sat, Mar 24, 2001 at 07:35:12AM +, Viktor Lakics wrote: Hi All, I have an autocommand for temporary mutt files. I want to move the cursor down 6 positions automatically when I start a new mail (this would move the cursor right under the headers (i use edit headers). But i can't