> Hello,
> I have I guess a fairly simple question...
> I would like to call makeview when I save a file (:w or :w! or :wq!)
> Can somebody kindly give me a clue ?
I guess you want something like
:au BufWritePost * mkview
This says just after successfully writing a buffer (BufWritePost, you
could also use BufWritePre or other things), whatever the filename (*),
execute the mkview command.
:help :au
(and in fact that entire help file) is where to look for more info.
Ben.
--
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