Skip to content

A git diff viewer that uses vim tabs and diffsplits

Notifications You must be signed in to change notification settings

frutiger/git-vimdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

##git-vimdiff - git diffs in vim tabs with splits

SYNOPSIS

git vimdiff <args...>

DESCRIPTION

Use all the regular arguments to git diff that you already know and love, but view the diffs in side-by-side vim splits with a tab for each changed file. Unlike other similar tools, this script does not copy files to a temporary area; it directly reads them from the git repository or opens them from the working tree as appropriate.

The script respects your $EDITOR variable, but that editor has to be a vim of some kind.

INSTALLATION

Place git-vimdiff.py in your $PATH somewhere. Personally, I symlink it to ~/bin/git-vimdiff and have ~/bin in my $PATH.

This requires either of the latest versions of Python 2 or Python 3.

LICENSE

Copyright (C) 2012 Masud Rahman

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A git diff viewer that uses vim tabs and diffsplits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages