sponsor Vim development Vim logo Vim Book Ad

sessions.vim : Easy session management for gvim.

 script karma  Rating 193/62, Downloaded by 2359  Comments, bugs, improvements  Vim wiki

created by
Todd Boland
 
script type
utility
 
description
This is a very simple script.  It adds a Sessions menu to gvim. Using the menu you can save and restore sessions. Sessions are saved in ~/.vim/sessions by default. In case you need further clarification, see the screenshot:

http://chargedsoftware.com/~charged2885/files/sessions.vim.png

For those who don't know, sessions allow you to save the state of your current Vim session to a file. You can then :source the session file to resume state. see :h mks for more information.
 
install details
Put into ~/.vim/plugin/ and reload vim. Manage sessions using new "Sessions" menu. You can put your existing session files in ~/.vim/sessions/ and :call DrawSessionMenu().
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sessions.vim 0.2 2008-02-12 7.0 Todd Boland Added win32 support thanks to "lizard".
sessions.vim 0.1 2008-02-11 7.0 Todd Boland Initial upload
ip used for rating: 18.221.13.173

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github