autosess : Auto save/load sessions
script karma |
Rating 37/12,
Downloaded by 4553 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Alex Efros |
|
script type |
utility |
|
description |
Start Vim without file arguments to automatically load previous session for current directory. This make easier work with complex projects - just chdir to project directory and start `vim`.
When you quit from Vim, if there are more than one open tab/window, session will be automatically saved. This let you edit single files in same directory without breaking your saved session. (Quickfix and vimdiff's windows are ignored.)
If you quit from Vim with no open files, session will be deleted. This let you start usual empty Vim in this directory next time.
Source: https://github.com/powerman/vim-plugin-autosess |
|
install details |
Using pathogen (recommended).
a) Using source:
$ git clone https://github.com/powerman/vim-plugin-autosess.git ~/.vim/bundle/autosess/
$ vi
:Helptags
b) Using .zip archive:
$ mkdir ~/.vim/bundle/autosess/
$ unzip autosess.zip -d ~/.vim/bundle/autosess/
$ vi
:Helptags
c) Using .vmb vimball:
$ mkdir ~/.vim/bundle/autosess/
$ vi autosess.vmb
:UseVimball ~/.vim/bundle/autosess
:Helptags
Plain install without pathogen.
a) Using .zip archive:
$ unzip autosess.zip -d ~/.vim/
$ vi
:helptags ~/.vim/doc
b) Using .vmb vimball:
$ vi autosess.vmb
:so %
:helptags ~/.vim/doc
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.145.70.197
|