Hi all,
I have right now an autocommand, au BufWritePost *.foo :run_cmd.
I want it to run upon writing all files matching *.foo, but not any files matching bar.*, or more equivalently bar.*.foo.
How can I disable the autocommand for files starting with bar? The full path of an ideally excluded file may be /tmp/dir/bar.qux.foo, while /tmp/dir/qux.foo should be included
Thanks, everyone!
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, October 14, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment