sponsor Vim development Vim logo Vim Book Ad

svn.vim : A simple svn utility for vim.

 script karma  Rating 26/8, Downloaded by 2603  Comments, bugs, improvements  Vim wiki

created by
Scott McCoy
 
script type
utility
 
description
A simple utility for using SVN within vim.  Mostly just aliases for combining writing your file, commiting and updating your repository within vim.  I use gvim, so the default editor ``Commit'' or ``Svn commit'' doesn't work.  For this reason, with a little bit of trickery I made my system open up the log addition inline.  This means with two simple commands, you've written your current file, commited your repository, and updated your changes...without leaving your vim window :)

You can also do this with key mappings, so makes it even easier.

Its still somewhat primative, though its coming along.
Check back frequently for updates.
Suggestions and Patches are always welcome!

Happy Vimming!
 
install details
cd ~/.vim
tar zxvf svn-<version>.tgz
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
svn-vim-0.003002.tgz 0.003002 2003-09-06 6.0 Scott McCoy Just a bug fix.  \\l (:Svn log) was running through 'windo' (oops)
svn-vim-0.003001.tgz 0.003001 2003-08-31 6.0 Scott McCoy Fixed an ugly bug that made it not play well with other plugins :)
svn-vim-0.003.tgz 0.003 2003-08-30 6.0 Scott McCoy Added Documentation, fixed a few minor glitches, added Key Mappings...still waiting for feedback from people on more things this needs.
svn.vim 0.002 2003-08-29 6.0 Scott McCoy the "SVN commit" and Commit methods now open up a window inline, manually fetching the repository status and generating a little file exactly like the one svn generates, then a new 'Complete' command was added that wraps a small sh script around the commit information you provided, which is then given to svn commit as the editor, and then removed.  The window is then closed, and its all done quietly.  I also added 'Svn log' and 'Log' commands that open up the log in a new window and move your cursor to the top :)  This thing is almost cool now
svn.vim 0.001003 2003-08-29 6.0 Scott McCoy Added 'Add' keyword and handler.
Some other stuff I forget...maybe I should put this thing under svn :)
svn.vim 0.001001 2003-08-25 6.0 Scott McCoy Fixed a little bug where I should have been using a global variable and the only reason it worked without the global was my version of vim :-/  Sorry guys.
svn.vim 0.001 2003-08-24 6.0 Scott McCoy Initial upload
ip used for rating: 3.87.209.162

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github