earthlab / hub-ops

Infrastructure and operations for the Earth Lab JupyterHub
https://earthlab-hub-ops.readthedocs.io/en/latest/
4 stars 8 forks source link

Default text editor -- add information to the docs that EMACS is the default but nano and vi are available #284

Open lwasser opened 4 years ago

lwasser commented 4 years ago

i just played with git on the hub. it looks like the default text editor is emacs. IS that a commonly used editor? i just wonder if we should consider changing it. it seems like most computers use VI as a default so not sure if we want them learning emacs too? not that i really want to teach either.

are there easier options perhaps or should we stick with Vim. i'm curious what @mbjoseph and @kcranston think about this? it may be too late to try to change the default but it's worth exploring it now.

lwasser commented 4 years ago

i could show them how to switch to VI but emacs actually has a fairly intuitive interface from what i can see so far.

lwasser commented 4 years ago

update: based upon a slack conversation it sounds like NANO is a nice default editor to have. i think it's useful to show them how to change the default during class so i'm ok with doing that. it's great it's already installed so there may not be a TODO in this case. but maybe we can specify in the hub docs that EMACS is the default but they can change to VI or NANO easily.

kcranston commented 4 years ago

This is the first situation I've seen where the default isn't vi. I don't even know where this is getting set, because git config -l doesn't show anything set for core.editor (and the $EDITOR environment variable is not set).

I am +1 for nano (and showing people how to change it if they want to use something else).