Uselful Emacs key combinations -------------------------------- C-x C-f open file C-x C-s save file C-x C-w save as... C-x C-c quit C-x g make it stop! (This is the thing to type when emacs is misbehaving somehow.) C-x u undo C-x k "kill" (cut from cursor to end of line) C-x y "yank" (paste most recently cut text) C-x i insert contents of file into current buffer C-x 2 split current buffer horizontally C-x 3 split current buffer vertically C-x o move to other buffer C-s find C-r find in preceding text (backwards find) M-x shell run shell in emacs (M-x means Esc x on most computers.) M-x linum toggle line number mode in current buffer C-h t emacs tutorial M-x tetris waste time M-x doctor psychotherapy