Today I Learned

hashrocket A Hashrocket project

Marks Across Vim Sessions

Any mark set with a capital letter (that is, A-Z) is called a file mark. File marks can be used to move from file to file. File marks will also be written to the Vim Info file (~/.viminfo) which means that if you close Vim and open it again, it will still know about those file marks. This means that your file marks are persisted across vim sessions which will save you the trouble of having to redefine them each time.

A more detailed description of marks is at :help marks.

See More #vim TILs
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.