title: What is the best way to maintain several formatting conventions for C files in vim?
body: <p>For example <a href="https://www.ffmpeg.org/developer.html#Editor-configuration" rel="nofollow">https://www.ffmpeg.org/developer.html#Editor-configuration</a> requires specific set of rules, but for my projects I usually prefer different one.</p>
  
  <p>It would be great to have several named groups of formatting options for different projects and switching between them easily without modifying .vimrc</p>