title: Prepare vim environment to work with clang-format
body: <p><strong>Problem</strong>:</p>
  
  <blockquote>
    <p>E319: Sorry, the command is not available in this version</p>
  </blockquote>
  
  <p><strong>Problem</strong>
  <br>When I run vim environment and try reformat code (CTRL+K) i get this warning on the screen <br><br>
  <strong>Environment:</strong>
  <br> System: Mac OS X</p>
  
  <p><strong>Settings:</strong>
  <br> Vim:</p>
  
  <pre><code>VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 17 2016 20:17:27)
  MacOS X (unix) version
  Included patches: 1-91
  </code></pre>
  
  <p>python:</p>
  
  <pre><code>python --version: Python 3.5.2
  </code></pre>
  
  <p><strong>What I do</strong></p>
  
  <ul>
  <li>Update vim: 7.3 -> 8.0 <br></li>
  <li>Update python: ~2.7 -> ~3.5 <br> </li>
  <li><p>I updated the .vimrc file <br>
  <strong>from</strong> <br>
  <code>map &lt;C-K&gt; :pyf .../clang-format.py&lt;cr&gt;
  imap &lt;C-K&gt; &lt;c-o&gt;:pyf .../clang-format.py&lt;cr&gt;</code>
  <br> <strong>to</strong><br>
  <code>map &lt;C-K&gt; ggVG :py3f .../clang-format.py&lt;cr&gt;
  imap &lt;C-K&gt; &lt;c-o&gt;:py3f .../clang-format.py&lt;cr&gt;</code></p></li>
  <li><p>Also I update clang-format file <br>
  <a href="https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format.py" rel="noreferrer">https://llvm.org/svn/llvm-project/cfe/trunk/tools/clang-format/clang-format.py</a></p></li>
  </ul>
  
  <p>Thx,</p>