Sesiones.vim : Plugin for managing sesions the easy way
script karma |
Rating 26/10,
Downloaded by 800 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
J. Manuel Picaza |
|
script type |
utility |
|
description |
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.
Usage
---------
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 |
|
install details |
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
Configuration
-------------------
In .vimrc or _vimrc, add the lines:
"Sesiones Plugin
"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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.117.182.179
|