Simple Subversion plugin for Vim
Opens a split window with the output of svn status
. In addition, the buffer offers some useful context specific actions which are explained inline.
Retrieves the latest content of the current file from the repository and displays a Vim diff from the working copy.
Does a commit with the provided message.
Does a revert on the current file. This command presents an 'are you sure' confirmation.
Does an add for the current file.
Opens a split with the output of svn annotate
for the current file. In the new buffer you can see the log entry for the current line by pressing CR
. Both the annotate buffer and log entry buffer can be closed by pressing q
.
Opens the svn:ignore
editor for the directory of the current file. It will also append the name of the current file to the end of the list. If the intent is not to ignore the exact name of this file then be sure to change it before save and quit.
Show the log for the current file. Within the log buffer you can press CR
to bring up the diff for the revision for the revision represented by the current line.
Searches the log for the given SEARCHTERM and displays the result in a scratch buffer. Within this buffer you can press D
or c-d
on a path to bring up the diff. Or press CR
or c-CR
on the path to open the file.
By default it will search the last 500 log entries. If you want to change this set the g:subvrimSearchLimit
to whatever.
This command requires that vim be compiled with Ruby support.