Today I Learned

hashrocket A Hashrocket project

Create new file in Vim's file explorer

If you want to create a new file when you are viewing Vim’s file explorer (netrw), simply hit the %. Vim will ask you for a file name, create that file in the currently viewed directory and open a buffer.

Every developer at Hashrocket is a Vim expert. Check out our development environment, Dotmatrix, and if you are in Chicago, come to the Vim Chicago Meetup hosted at our Chicago office.