mirror of
https://github.com/jbranchaud/til
synced 2026-01-04 15:48:01 +00:00
Add Marks Across Vim Sessions as a vim til.
This commit is contained in:
@@ -59,6 +59,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
|||||||
- [Head of File Name](vim/head-of-file-name.md)
|
- [Head of File Name](vim/head-of-file-name.md)
|
||||||
- [Horizontal to Vertical and Back Again](vim/horizontal-to-vertical-and-back-again.md)
|
- [Horizontal to Vertical and Back Again](vim/horizontal-to-vertical-and-back-again.md)
|
||||||
- [List All Buffers](vim/list-all-buffers.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)
|
- [NETRW Listing Styles](vim/netrw-listing-styles.md)
|
||||||
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
|
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
|
||||||
- [Opening a URL](vim/opening-a-url.md)
|
- [Opening a URL](vim/opening-a-url.md)
|
||||||
|
|||||||
10
vim/marks-across-vim-sessions.md
Normal file
10
vim/marks-across-vim-sessions.md
Normal 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`.
|
||||||
Reference in New Issue
Block a user