Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dsp1234
on May 23, 2017
|
parent
|
context
|
favorite
| on:
Helping a Million Developers Exit Vim
git bash on windows has vim as the default editor when editing commit messages
fishywang
on May 23, 2017
|
next
[–]
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
on May 23, 2017
|
parent
|
next
[–]
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
on May 23, 2017
|
root
|
parent
|
next
[–]
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
on May 23, 2017
|
parent
|
prev
|
next
[–]
'nano' is fine
simopaa
on May 23, 2017
|
prev
[–]
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...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: