Rvi is a script that simplifies integrating RCS with vim or vi. It acts as a wrapper to enhance the current work environment.
Have you ever wanted to see what has changed to a configuration file? Have you ever wanted to go back to where you were before some significant changes? Have you ever wondered who changed your configuration files and in what way? Do you want the safety of knowing you can undo whatever changes you make to a config file? Or do you want to edit files in multi-user environments without unknowingly overwriting others' work?
Rvi is a wrapper script that integrates RCS into your current vim/vi work environment in an easy and straightforward manner. By merely using "rvi filename" instead of "vim filename," the file will be checked into revision control automatically. Plus, any changes made after the edit will be displayed every time you finish editing.
For instance:
Reenen@tux$ rvi index.html
RCS/index.html,v --> index.html
Revision 1.1 (locked)
Done
After editing the file, this is what follows:
"index.html" 25L, 916C written
===================================================================
RCS file: RCS/index.html,v
Retrieving revision 1.1
Diff -u -r1.1 index.html
--- index.html 2006/02/09 09:59:14 1.1
+++ index.html 2006/02/09 10:00:57
@@ -1,6 +1,7@@
+RCS/index.html,v > added title.
>>
.
Done
As you can see, rvi provides an efficient way of integrating RCS with your vim/vi work environment.
Version 1.1 2006/02/09: N/A