5 ms·
when it's the default editor and you go to add a cron job...
by werid 6y ago
when it's the default editor and you go to add a cron job...
- soraminazuki 6y agoYou've definitely got a point.
- MAGZine 6y agoDoesn't ctrl/cmd-c remind you of the exit sequence?
- rezonant 6y agoYes it does! But how will they know to hit Ctrl+C? /s
- jabirali 6y agoThe "obvious" reason would be if a person is used to terminals but not vim, as ctrl-c usually kills processes. I think a lot of confusion could be avoided if distributions like Ubuntu, that are commonly used by new Linux users, were to set e.g. EDITOR=nano in their default ~/.bashrc. That way, writing "git commit" from a terminal, typing "v" inside less, etc. would all bring up nano instead of vim by default.
- rezonant 6y ago/s means "sarcasm" :-)