5 ms·
In case it needs to be said... you can count on vi being installed on almost any unixy distribution, which is not true of nano, pico, emacs or other common visu
by scelerat 5y ago
In case it needs to be said... you can count on vi being installed on almost any unixy distribution, which is not true of nano, pico, emacs or other common visual editors. On many contemporary systems, 'vi' is an alias for 'vim' and there you go.
You can change the editor Git uses by editing git configuration or setting the shell variables $VISUAL or $EDITOR [1]
e.g.
EDITOR="bbedit --wait --resume" git rebase -i 5f882cfdec^
[1] https://git-scm.com/book/ms/v2/Customizing-Git-Git-Configuration https://git-scm.com/book/ms/v2/Customizing-Git-Git-Configura...
- int_19h 5y agoArcane and obsolete Unix systems aside - which the vast majority of users don't have to care about, or even know that they exist - what modern Unix-like does not include nano out of the box?
- scelerat 5y agoCan't answer that myself, but because vi is part of the POSIX standard, the Git folks don't have to worry about it either.