I have different option for each working directory. I don\'t want to set
these options every time I work. I know I can append vimrc
file for the op
Another solution is EditorConfig. It sets coding styles for different projects or filetypes. It works with Vim, but it is editor agnostic, so you can use the .editorconfig
file with other text editors (SublimeText2, Notepad++, Vim, Emacs, Textmate, Gedit) or IDE (idea-based IDE's, RubyMine, PHPStorm, Visual Studio).