Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dsp1234
· 9y ago · 0 comments
git bash on windows has vim as the default editor when editing commit messages
Comments
[–]
fishywang
9y ago
Maybe someone should file a bug to them? I don't think vim is a sane default value for EDITOR, but I have no idea whether there's any sane alternative on Windows.
[–]
hepek
9y ago
I believe POSIX defines vi as mandatory visual text editor, which makes it present on any compliant OS and thus a sane default value for EDITOR.
[–]
masklinn
9y ago
Technically it's part of the optional "User Portability Utilities" feature group, and so is ex, the only
mandatory
editor in POSIX is "ed".
[–]
xxs
9y ago
'nano' is fine
[–]
simopaa
9y ago
I switched to nano recently, and it wasn't as easy as it perhaps should have been:
https://stackoverflow.com/questions/36802996/bash-nano-comma...