Worked like a charm, thanks.

On 26/10/12 12:39 PM, Ben Fritz wrote:
On Friday, October 26, 2012 10:49:50 AM UTC-5, Marc Jessome wrote:

I've got a BufWritePre autocmd, and I would like to check to see if a
write was being forced ("w!"), so that I may override certain behaviour
in that case.

Is there any way to check whether or not the bufwrite is being forced?


:help v:cmdarg
:help v:cmdbang


--
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

Reply via email to