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 673  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: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github