Re: Substitutions Triggered by autocmd Are Noisy

2011-09-27 Thread Bastien Dejean
Tony Mechelynck a écrit : > Try setting 'cmdheight' to 2 or even 3 in your vimrc Since I'm not willing to permanently change cmdheight and since my first attempt at temporarily modifying it failed, I looked at my .muttrc and I changed the following line: set editor = "vim +/^$ ++1" to

Re: Substitutions Triggered by autocmd Are Noisy

2011-09-27 Thread Charles Campbell
Bastien Dejean wrote: Hi, I'm trying to removed some of the default mutt headers since there's no facility for doing so inside mutt. Hence the following: autocmd FileType mail :%s/^\(Reply-To\|Bcc\): \n//e The only problem is that I get the "Press ENTER or type command to continue" prompt

Re: Substitutions Triggered by autocmd Are Noisy

2011-09-27 Thread Tony Mechelynck
On 26/09/11 10:51, Bastien Dejean wrote: John Beckett a écrit : Try autocmd FileType mail silent call CleanMuttHeader() I still get the prompt. Regards, Try setting 'cmdheight' to 2 or even 3 in your vimrc Best regards, Tony. -- It is always preferable to visit home with a friend.

Re: Substitutions Triggered by autocmd Are Noisy

2011-09-26 Thread Bastien Dejean
John Beckett a écrit : > Try > autocmd FileType mail silent call CleanMuttHeader() I still get the prompt. Regards, -- Bastien -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http:/

RE: Substitutions Triggered by autocmd Are Noisy

2011-09-25 Thread John Beckett
Bastien Dejean wrote: > This is what I'm using: >autocmd FileType mail call CleanMuttHeader() Try autocmd FileType mail silent call CleanMuttHeader() John -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: Substitutions Triggered by autocmd Are Noisy

2011-09-25 Thread Bastien Dejean
Tony Mechelynck a écrit : > Try setting 'report' to a high number, as follows: I still get the prompt. This is what I'm using: autocmd FileType mail call CleanMuttHeader() function! CleanMuttHeader() let s:report = &report set report=99 exec '%s/^\(Reply-To\

Re: Substitutions Triggered by autocmd Are Noisy

2011-09-25 Thread Tony Mechelynck
On 25/09/11 18:49, Bastien Dejean wrote: Hi, I'm trying to removed some of the default mutt headers since there's no facility for doing so inside mutt. Hence the following: autocmd FileType mail :%s/^\(Reply-To\|Bcc\): \n//e The only problem is that I get the "Press ENTER or type command

Substitutions Triggered by autocmd Are Noisy

2011-09-25 Thread Bastien Dejean
Hi, I'm trying to removed some of the default mutt headers since there's no facility for doing so inside mutt. Hence the following: autocmd FileType mail :%s/^\(Reply-To\|Bcc\): \n//e The only problem is that I get the "Press ENTER or type command to continue" prompt. Appending 'silent' bef