Reputation: 32374
By 'structural configuration' I mean the current open buffers, tabs, windows, and their positions.
By 'across sessions' means that I want to be able to type :save
, have it save to ~/.vimsconf
, and have typing :load
actually load those buffers and set up the windows and tabs as they were before, for example.
Is there maybe built in functionality for that? Or maybe a plugin?
I'm using openSUSE 12.3
Upvotes: 1
Views: 166
Reputation: 195229
:mks foo.vim
to save the session in file. and
vim -S foo.vim
will load the session file
check
:h :mks
:h views-sessions
for detail
Upvotes: 5
Reputation: 42258
You should check :help session
from within Vim. It explains how it works.
Upvotes: 2