C-f | move cursor forward |
C-b | move cursor backward |
C-n | move cursor to next line |
C-p | move cursor to previous line |
C-l | center screen on cursor |
M-f | move cursor forward one token |
M-b | move cursor backward one token |
C-a | move cursor to beginning of line |
C-e | move cursor to end of line |
M-x goto-line | go to line |
C-v | move down one screenful |
M-v | move cursor up one screenful |
M-< | move cursor to beginning of buffer |
M-> | move cursor to end of buffer |
M-a | move cursor to beginning of statement |
M-e | move cursor to end of statement |
M C-a | move cursor to beginning of function |
M C-e | move cursor to end of function |
<Backspace> | delete character before cursor |
C-d | delete character at cursor |
M-<Backspace> | delete from cursor to beginning of token |
M-d | delete from cursor to end of token |
C-k | kill (cut) from cursor to end of line |
C-y | yank (paste) what was most recently killed |
C-<SPC> | set mark (mark is the beggining of region; cursor is end of region) |
C-x C-p | set region to entire buffer |
C-w | kill (cut) region |
M-w | save (copy) region |
C-c C-c | comment region |
C-u C-c C-c | un-comment region |
<TAB> | indent line |
C-M-\ | indent region |
C-_ | undo |
C-s | forward incremental search |
C-r | reverse incremental search |
<RET> (when in search mode) | stop searching |
C-g (when in search mode) | cancel search and return to where search started |