Sesiones.vim : Plugin for managing sesions the easy way
| script karma
Downloaded by 256
Comments, bugs, improvements
script versions (upload new version)
|J. Manuel Picaza|
|Small function to save, load, overwrite and delete vim sessions.
:mkview and related commands are not difficult to manage but where to save the sessions and with what name is sometimes tricky.
This plugin use a dedicate folder ($VIM/vimfiles/session/) to save all sessions, using as name the full path-name to the associated file. This way you don't have to worry about where have you saved your sesion; just you only have to remember what file is associated to the session, open it and press <Shift-F3>
The functions can be accessed both in the "plugin -> Sessions" tab or with the keyboard.
Manage it from the menu in plugins or with the keyboard:
<F3> to save a session
<Shift-F3> to load a session
<Crtl-Shift-F3> to overwrite an existing session
d<F3> to delete an existing session
|Copy the Sesiones.vim script to the $HOME/.vim/plugin or the $HOME/vimfiles/plugin or the $VIM/vimfiles directory.
Refer to the ':help add-plugin', ':help add-global-plugin' and ':help runtimepath' topics for more details about Vim plugins.
For those guys who use pathogen, the installation should be as simple as a git clone:
$ cd ~/.vim/bundle
$ git clone git://github.com/jmpicaza/Sesiones.vim.git
In .vimrc or _vimrc, add the lines:
"let g:sesiones_path="C:\Documents and Settiing\yourUserName\someFolder"
If not, the default loaction will be "~/.vimSessions" or "$VIM\_vimSessions" or "$USERPROFILE\_vimSessions" depending of the operating system and rw permissions.
Click on the package to download.
ip used for rating: 220.127.116.11