1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Marks Across Vim Sessions as a vim til.

This commit is contained in:
jbranchaud
2015-04-15 08:26:09 -05:00
parent c2876143a2
commit 16152d0b46
2 changed files with 11 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Head of File Name](vim/head-of-file-name.md)
- [Horizontal to Vertical and Back Again](vim/horizontal-to-vertical-and-back-again.md)
- [List All Buffers](vim/list-all-buffers.md)
- [Marks Across Vim Sessions](vim/marks-across-vim-sessions.md)
- [NETRW Listing Styles](vim/netrw-listing-styles.md)
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
- [Opening a URL](vim/opening-a-url.md)

View File

@@ -0,0 +1,10 @@
# 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`.