Cover by Kim Schulz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Using sessions

Have you ever wondered how much information Vim actually holds for you? It holds a wide range of settings and things, some of which are:

  • Open files, buffers, windows, and tabs
  • Command history
  • Points of change in the text
  • Selections and undo branches
  • Size of windows, splits, and the GUI window
  • Place of cursor

The stored information can be split into three different categories:

  • The first type of setting is called a View and applies to a single window in Vim. A view can be saved and restored such that a window will have the same look and setup every time you use the view.
  • The second type of setting is called Sessions. It is a collection of views and information about how they are interoperating. Like views, sessions can also be saved for a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required