On Tuesday, January 17, 2012 3:42:17 PM UTC, Gary Johnson wrote:
au BufRead TODO set option1=value1 option2=value2
This does not give different settings for different projects. The settings that I want all the time I put in .vimrc.
au BufRead /path/to/project/** setlocal option1=value1 option2=value2
This requires a line for each project, and needs to be updated when the project is moved to another directory.
--
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