sponsor Vim development Vim logo Vim Book Ad

session.vim : A simple, automatic, no-nonsense, out of your way session manager

 script karma  Rating 5/2, Downloaded by 539  Comments, bugs, improvements  Vim wiki

created by
Nathan Lawrence
 
script type
utility
 
description
session.vim is the easy way to do vim sessions.  A session is automatically started or restored whenever you open vim with a single file, or no files.

To delete a session, type :Sdelete, and the session will be deleted upon exiting vim.

To prevent a session from starting, use the g:session_blacklist variable:
let g:session_blacklist = ['\.swp$','\.tmp$','^\.']

There is also a g:session_whitelist variable for easy refinement.
let g:session_whitelist = ['^\.vimrc$']
 
install details
This script requires that vim was built with python enabled.

Simply copy session.vim to ${HOME}/.vim/plugin.
 

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
session.vim 0.9 2008-08-08 7.0 Nathan Lawrence Initial upload
ip used for rating: 18.116.239.195

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