title: Vim: No write since last change, even though I changed the file
body: <p>I'm trying to set up a file on my ubuntu machine, but when I try to change the contents before saving the file I've just created, vim returns the error: No write since last change.</p>
  
  <p>I've created the file with the user, who is trying to change the contents and <code>sudo vim file.ext</code> doesn't solve the problem eiter.</p>
  
  <p>Has anyone an idea?</p>
  
  <p>Best regards,
  Lenny</p>
  
  <p>EDIT:</p>
  
  <p>Basically, my workflow looks like this:</p>
  
  <p><code>touch file.js</code></p>
  
  <p><code>vim file.js</code>
  In the file:</p>
  
  <pre><code>console.log('Hello_world');
  </code></pre>
  
  <p>Afterwards, I'm entering <code>:q [Enter]</code> and then the error message appears.</p>