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
Friday, October 26, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment