Search notes:

Vim sessions

Session files

The state of a complete vim session (when editing files) can be saved to a session file.
So, multiple session files are possible, one for each project someone is working on.
In contrast, there is usually only one viminfo file which does not depend on what someone is working on.
After loading a (previously stored) session file, the user can resume work where he abandoned it.

Options

The behavior of the :mksession command is controlled by the sessionoptions option.

Events

When a session is loaded, the SessionLoadPost event is triggered.

Command line options

-S can apparently be used to source a Session.vim (session) file.

See also

vim

Index