View Git index diffs in Vim.

This commit is contained in:
Sorin Ionescu 2012-01-19 17:33:55 -05:00
parent 66c4aae59e
commit 5f81b5ba1e

View file

@ -35,6 +35,8 @@ alias giu='git add --update'
compdef _git giu=git-add
alias gid='git diff --no-ext-diff --cached'
compdef _git gid=git-diff
function giD() { git diff --no-ext-diff --cached --ignore-all-space "$@" | view - }
compdef _git giD=git-diff
alias gir='git reset'
compdef _git gir=git-reset
alias giR='git reset --mixed'