title: How to create and open for editing a nonexistent file whose path is under the cursor in Vim?
body: <p>I’m trying Vim for the first couple of hours with Ruby on Rails, and I’m loving it so far.</p>
  <p>Specifically, the <code>gf</code> command is great, but I miss something:
  If the file under the cursor does not exist yet, <code>gf</code> returns an error.</p>
  <p>Is there a command to actually create and open the file if it does not exist?
  Or, what is the most straightforward way to create it?</p>