mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-18 21:27:42 +00:00
Remove git mergetool and difftool, use zsh diffview alias instead
This is because as a git tool, it wants to open each file separately. Neovim and diffview plugin provide a handy UI to manage multiple files in diff and merge
This commit is contained in:
parent
22a4aad249
commit
e3e9848d0e
@ -30,15 +30,6 @@ prompt = false
|
||||
[mergetool "nvim"]
|
||||
cmd = nvim +DiffviewOpen
|
||||
|
||||
[diff]
|
||||
tool = nvim
|
||||
|
||||
[difftool]
|
||||
prompt = false
|
||||
|
||||
[difftool "nvim"]
|
||||
cmd = nvim +DiffviewOpen
|
||||
|
||||
[pull]
|
||||
rebase = merges
|
||||
|
||||
|
@ -10,6 +10,11 @@ alias gs='git status'
|
||||
alias gpull='git pull'
|
||||
alias gpush='git push'
|
||||
|
||||
# Open nvim with diffview
|
||||
# Handy plugin for viewing git diffs
|
||||
# and handling merges
|
||||
alias diffview='nvim +DiffviewOpen'
|
||||
|
||||
# Rename grc alias from forgit since it
|
||||
# collides with the grc colorizer
|
||||
forgit_revert_commit=fgrc
|
||||
|
Loading…
Reference in New Issue
Block a user