On 20-Oct-2012 21:53:13 +0200, So8res wrote: > @ingo -- I like having 'options' in there because I often find > 'shiftwidth' and 'tabstop' often differ by buffer or filetype. > Especially if you're working on a multitude of c projects, and none of > them have the same tabbing settings: ftplugins won't help you there. > 'viewoptions' has the right idea, but I think that the 'options' > option should be a bit finer.
Ah, I see. For indentation, I have written a plugin - IndentConsistencyCop (http://www.vim.org/scripts/script.php?script_id=1690), that checks and adapts if necessary. For project-specific settings, I use the localrc.vim plugin (http://www.vim.org/scripts/script.php?script_id=3393). If you encode the options in sessions and/or views, you must be careful to always open your files through them, don't you? I have always regarded these as helpful, but essentially volatile metadata that I don't drag around to other systems I'm working on. It's no surprise that people have different workflows, each with their own pros and cons. -- regards, ingo -- You received this message from the "vim_dev" 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
