aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-01-23 10:29:01 +0800
committerGuangxiong Lin <[email protected]>2022-01-23 10:29:01 +0800
commit344f809ff1bdc8d8cc00de4e4651aff8722a147b (patch)
tree71bae18903f9c094965579da2fe8177a0ed3023f
parentd4fe0c34edf0bff154d8ce6f724a3079ce8fdab0 (diff)
downloaddotfiles-344f809ff1bdc8d8cc00de4e4651aff8722a147b.tar.gz
dotfiles-344f809ff1bdc8d8cc00de4e4651aff8722a147b.tar.bz2
dotfiles-344f809ff1bdc8d8cc00de4e4651aff8722a147b.zip
Remove --tool vimdiff in .tigrc
This is to make commands in .tigrc use default difftool in .gitconfig. So it will not influence when I change difftool in the future.
-rw-r--r--.tigrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.tigrc b/.tigrc
index a5bed01..c443219 100644
--- a/.tigrc
+++ b/.tigrc
@@ -23,7 +23,7 @@ bind generic S view-grep
bind generic D !git difftool --no-prompt --trust-exit-code %(commit)^!
bind diff D !git difftool --no-prompt --trust-exit-code %(commit)^! -- %(file)
bind stage D !git difftool --no-prompt --trust-exit-code HEAD -- %(file)
-bind stage D !sh -c "git difftool --tool=vimdiff --trust-exit-code --no-prompt `expr '%(status)' : 'Staged changes' >/dev/null && echo --staged` -- '%(file)'"
+bind stage D !sh -c "git difftool --no-prompt --trust-exit-code `expr '%(status)' : 'Staged changes' >/dev/null && echo --staged` -- '%(file)'"
# Misc
bind generic T !git notes edit %(commit)