I'm trying to use gvimdiff as a mergetool for git on Windows. Previously I've used vimdiff in console mode, but know feel like I'm not happy with limiting view Windows console size, so I'm trying to switch to gvimdiff which have more flexible approach to setting window size.
But trying to call git mergetool
now I'm receiving error which is not clear for me:
The merge tool gvimdiff is not available as 'gvim'
How this could be resolved?
gvim
for Windows is install and accessible via command line. The same is true for gvimdiff
command.
I'm trying to find the place where this error is raised in git scripts, but currently with no luck.
cmd
's default size by right clicking on the top-bar -> properties and something there. While you are there, you can also tell it to initialize every window at the same starting position. Then once you click ok, it asks if you want to set it as default or only for this window. – Countermineget_merge_tool_path
function inside$(git --exec-path)\git-mergetool--lib
. When you configuregvimdiff
as your merge tool, git internally translates that to agvim
command (see$(git --exec-path)\mergetools\vim
. From the shell that you launchgit mergetool
, you must be able to rungvim
. If that works, thengit mergetool
should as well. – Sectorialgit mergetool
. Regretfully, I still don't know why. – Reconcile