I currently use Git for Windows to teach bash and git. If possible I want to move to using the local MobaXterm terminal instead. One of the requirements I have is that we can change the default text editor from vim to a more user friendly option like nano or even MobaTextEditor.
Unfortunately it doesn't seem to matter what I set
git config --global core.editor to, or the
EDITOR env variable to,
git commit always ignores it and opens vim instead. It doesn't even give me an error, it just ignores the setting altogether.
I really want to move away from Git for Windows, but its not feasible to get a class full of newbies to use vim in the limited time we have. Does anyone know how to get another editor to work with git in MobaXterm's local terminal? Is there something simple I'm missing?
set | grep -aE 'EDITOR|VISUAL'and
git var GIT_EDITOR?
GIT_EDITORhad been set.