edsono / vim-sessions

Automatic sessions, per project (aka directory) basis, for vim editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vim-Sessions

Description

Vim-Sessions is an automatic session generator, per project (aka directory) basis, for Vim editor.

Install

Download the gzipball from Vim script homepage and open the package using Vim and use the command :source %. Or run the following command:

vim sessions-<version>.vba.gz +":source %"

Done! All files will be extracted in your Vim home directory.

If you checkout from repository, install using the install task from bake:

bake install

This instruction will be create a Vimball file and install.

Or, use git and Pathogen plugin to manage your plugins in vim.

More information here: http://tammersaleh.com/posts/the-modern-vim-config-with-pathogen

Usage

After installing, specify your code directories (the folder where you save your projects) in your .vimrc:

let g:sessions_project_path = "$HOME/projects"

Now, when editing a file in folder under this dir, vim-session will consider a project. So it will save sessions when saving and exiting vim.

When you start vim again, in a dir under the same folder, this session will be reloaded.

Information

You maybe contributes to source. So, send a feedback in issue tracker.

Vim-Sessions is hosted on following servers:

Visit the script homepage for more information.

Copyright

Copyright (c) 2009 Edson Cesar edsono@gmail.com

About

Automatic sessions, per project (aka directory) basis, for vim editor


Languages

Language:Vim Script 100.0%