cbackup.vim : Use VMS style versioned backup with centralized backup directory
script karma |
Rating 19/6,
Downloaded by 616 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Maciej Delmanowski |
|
script type |
utility |
|
description |
This is a modification of vimscript #1537 to make it work with centralized backup directories. Backups are saved by default in $HOME/.backups, with recursive subdirectories reflecting the original location of the file being saved, using the VMS versioning system.
Parts of the script running under VMS were not changed. Script was tested on Linux, and should work in other environments too (Windows, Mac). |
|
install details |
Download the script and put it in your ~/.vim/plugin/ directory.
Configuration:
g:backup_directory - the root of the backup directory structure, by default it's set to "$HOME/.backups". It will be automatically created if not found.
g:backup_purge - number of files to preserve during write, by default 10. Older files will be automatically removed.
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.139.81.58
|