View Git index diffs in Vim.
This commit is contained in:
parent
66c4aae59e
commit
5f81b5ba1e
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue