O'Reilly logo

Hacking Vim 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

Using Sessions

Have you ever wondered how much information Vim actually holds for you about a wide range of settings and things like:

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

...and many other things. 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 settings are called Sessions and are collections of views and info about how they are inter-operating. Like views, sessions can also be saved for later ...

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