title: How to execute the contents of a buffer?
body: <p>I have a vim script I'm developing in my current buffer and I want to execute it. Is there a simple way to do it?</p>
  
  <p>After a long search I have only found two related ways, but not exactly what I'm looking for:</p>
  
  <ul>
  <li><p>a) "source" command - but to use it I first need to save the content to file and then "source" it back, which doesn't look simple</p></li>
  <li><p>b) "call" command - but I don't want to call my function, I want to execute the whole file, which defines several functions and has some code outside of functions at all</p></li>
  </ul>