Sunday, September 25, 2011

Re: Substitutions Triggered by autocmd Are Noisy

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=999999
exec '%s/^\(Reply-To\|Bcc\): \n//e'
let &report = s:report
endfunction

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://www.vim.org/maillist.php

No comments:

Post a Comment