From 79760fb4d2f1031685028e89c6b963ab06ed8563 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 2 Aug 2023 02:08:35 -0500 Subject: [PATCH] refactor(zsh): make git diff alias open nvim Diffview --- dots/.config/zsh/config/profile/profile/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index 1f93eaad..5ce77afd 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -26,7 +26,7 @@ if command -v git >/dev/null 2>&1; then alias gst="git stash" alias gstc="git stash clear" alias gsw="git switch" - alias gd="git diff" + alias gd="nvim -c 'DiffviewOpen' -R" alias gr="git remote" alias gl="git log" alias glo="git log --oneline"