title: How to automatically execute a shell command after saving a file in Vim?
body: <p>This is because I'd like to automatically run tests after each file save.</p>
  
  <p>I have looked at <code>autocmd</code> and <code>BufWritePost</code> but cannot make it work.</p>