sponsor Vim development Vim logo Vim Book Ad

gitv : gitk for Vim.

 script karma  Rating 172/48, Downloaded by 1011    Comments, bugs, improvements  Vim wiki

created by
Greg Sexton
 
script type
utility
 
description
gitv is a 'gitk clone' plugin for the text editor Vim. The goal is to give you a similar set of functionality as a repository viewer.  Using this plugin you can view a repository's history including branching and merging, you can see which commits refs point to.  You can quickly and easily view what changed to which files and when. You can perform arbitrary diffs (using Vim's excellent built in diff functionality) and you can easily check out whole commits and branches or just individual files if need be.

Throw in the fact that it is running in Vim and you get for free: the ability to move over repository history quickly and precisely using Vim's built in movement operators. You get excellent code syntax highlighting due to Vim's built in ability. You can open up all sorts of repository views in multiple windows and position them exactly as you like. You can take advantage of Vim's registers to copy multiple fragments of code from previous commits. The list goes on.

This plugin is an extension of the fugitive plugin.

Screenshots can be found here: http://www.gregsexton.org/portfolio/gitv/.

The GitHub repository is here: https://github.com/gregsexton/gitv.

I hope you like it!
 
install details
Install in ~/.vim, or in ~\vimfiles if you're on Windows. This plugin should be fully pathogen compatible if you want to install it this way.

gitv was developed against Vim 7.3 but earlier versions of Vim should work.  Vim 7.2+ is recommended as it ships with syntax highlighting for many Git file types. **You will also need the fugitive plugin installed and working for gitv to work.**
 

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
gitv-1.1.zip 1.1 2011-08-20 7.0 Greg Sexton Nodes displaying local changes are inserted above HEAD ref.
Added range feature.
Merging branches is possible in gitv.
strwidth bugfix (thanks Adam Reeve).
Prevent bdelete errors (thanks pydave).
gitv-1.0.zip 1.0 2011-05-02 7.0 Greg Sexton Initial upload
ip used for rating: 54.161.190.9

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.
   
SourceForge.net Logo