diff --git a/README.md b/README.md index b990dcc..2a3984b 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/vim/marks-across-vim-sessions.md b/vim/marks-across-vim-sessions.md new file mode 100644 index 0000000..04dfdb5 --- /dev/null +++ b/vim/marks-across-vim-sessions.md @@ -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`.