Vimrc Version Numbering : automatic vimrc version numbering
script karma |
Rating 2/5,
Downloaded by 605 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
eiji kumiai |
|
script type |
utility |
|
description |
Automatically increments and displays version number stored inside vimrc file itself. Version number is automatically updated when a modified vimrc file is saved.
Displays version number of vimrc in use when vim is started. This makes it easy to ensure that you have your latest copy of vimrc on different computers.
Also useful if someone you know uses your vimrc wholesale, or if there are a few versions of "standard" versions of vimrc going around in your environment. |
|
install details |
insert code into your vimrc file. |
|
script versions (upload new version)
Click on the package to download.
vimrc_version.vim |
1.1 |
2010-02-07 |
7.0 |
eiji kumiai |
- Added debug mode to stop version number from incrementing.
Edit as follows to allow incrementation.
:let g:debugmode=0
Edit as follows to disallow incrementation
:let g:debugmode=1
- Removed map ",it" to clean up code
|
vimrc_version.vim |
1.0 |
2010-01-16 |
6.0 |
eiji kumiai |
Initial upload |
ip used for rating: 3.14.142.115
|