Emacs
Students can use any editor they want, but emacs is what I use. Here's an emacs cheat sheet that I find useful:
https://www.gnu.org/software/emacs/refcards/pdf/refcard.pdf
And here is a short list of the commands that I use the most:
- C-x C-f open a file
- C-x C-s save file
- C-x C-c exit emacs
- C-x 2 split window horizontally
- C-x 3 split window vertically [you can do this infinitely]
- C-x 1 unsplit windows
- C-x o go to another split
- M-x shell open shell
- C-x b switch the buffer in the current split
- C-x k kill the current buffer
- C-g cancel (e.g. if you're stuck in the minibuffer)
- C-space start selecting
- C-w cut selection
- C-y paste what was cut
- C-e go to end of line
- C-a go to beginning of line
- M-[left or right arrow] skip the cursor over words
- M-shift-< go to beginning of file
- M-shift-> go to end of file
- M-[up and down arrows] seems to work too
- C-s to search
- M-shift-5 find and replace
- C-shift-_ undo
There are also many emacs tutorials that can be found online if you
want to read more about it.