diff options
author | Guangxiong Lin <[email protected]> | 2022-01-23 10:29:01 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-01-23 10:29:01 +0800 |
commit | 344f809ff1bdc8d8cc00de4e4651aff8722a147b (patch) | |
tree | 71bae18903f9c094965579da2fe8177a0ed3023f | |
parent | d4fe0c34edf0bff154d8ce6f724a3079ce8fdab0 (diff) | |
download | dotfiles-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-- | .tigrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |