diff --git a/README.md b/README.md index f6ddd25..efdffe0 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ smart people at [Hashrocket](http://hashrocket.com/). - [Scrolling Relative to the Window](vim/scrolling-relative-to-the-window.md) - [Split Different](vim/split-different.md) - [Tabs To Spaces](vim/tabs-to-spaces.md) +- [The Vim Info File](vim/the-vim-info-file.md) - [View Commit History of a File](vim/view-commit-history-of-a-file.md) - [Wrap With Some Room](vim/wrap-with-some-room.md) diff --git a/vim/the-vim-info-file.md b/vim/the-vim-info-file.md new file mode 100644 index 0000000..177eb04 --- /dev/null +++ b/vim/the-vim-info-file.md @@ -0,0 +1,11 @@ +# The Vim Info File + +Vim serializes a bunch of useful information as you edit files, jump around, +and execute commands. This is so that vim can recall this information in +between sessions. Vim creates a Vim Info file (`~/.viminfo`) in your home +directory which it uses to enhance your long-term experience with the +editor. File marks, registers, command and search history, and jump history +are some of the more interesting things that vim stores there. + +Read more about it at `:help viminfo` or just take a look at the file with +`vim ~/.viminfo`.