From d4d5795473c13f734d9f1f3b904ff9344861ace5 Mon Sep 17 00:00:00 2001 From: Gerhard Lazu Date: Sun, 11 Oct 2009 09:56:22 +0100 Subject: [PATCH] Added git diff for vim (gdv) --- lib/aliases.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/aliases.zsh b/lib/aliases.zsh index 6f6c614..c4388fe 100644 --- a/lib/aliases.zsh +++ b/lib/aliases.zsh @@ -20,6 +20,7 @@ alias gst='git status' alias gl='git pull' alias gp='git push' alias gd='git diff | mate' +alias gdv='git diff -w "$@" | vim -R -' alias gc='git commit -v' alias gca='git commit -v -a' alias gb='git branch'