title: how to write value of variable into current edit file in vim script
body: <p>I get a variable's value in vim's script, and how to write it into the file I'm editing now.</p>
  
  <p>e.g.</p>
  
  <pre><code>"=== get date
  let TodayDate=system("date")
  </code></pre>