plugin/backup.vim : Numbered Backups.
script karma |
Rating 118/37,
Downloaded by 3040 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Martin Krischik |
|
script type |
utility |
|
description |
Holds numered backups inside a seperate directory.
Automaticly purges old backups. Standart is to hold the last 10 versions.
Tested with Linux, MS-Windows and OpenVMS.
IMORTANT: Creating this plugin was only possible because vim 7 offers new file management functions - namely :mkdir, finddir() delete() and the new List datatype. This plugin won'g work with vim 6.x.
Reports errors to: http://code.google.com/p/vim-scripts/issues/list
Discuss improvements on: http://groups.google.com/group/vim_scripts
For Support see: http://code.google.com/p/vim-scripts/wiki/NumberedBackups |
|
install details |
Copy to plugin directory and set the following global variables:
g:backup_directory name of backup directory local to edited file
used for non VMS only. Since non VMS operating-
systems don't know about version we would get
ugly directory listings. So all backups are
moved into a hidden directory.
g:backup_purge count of backups to hold - purge older once.
On VMS PURGE is used to delete older version
0 switched the feature off
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 54.146.227.92
|