Snippets are tiny notes I've collected for easy reference.
emacs cursor movement shortcuts
M-g g <N>orM-g M-g <N>-- go to line( goto-line)M-g c <N>-- go to character( goto-char)M-g <TAB> <N>-- go to columnin the current line M-<--beginning-of-bufferM->--end-of-bufferC-aor<home>--move-beginning-of-lineC-eor<end>--move-end-of-lineC-for<right>-- forward one char (forward-char) or right one char (right-char). (Noteright-charmoves backward when editing right-to-left text.)M-forM-<right>orC-<right>-- forward one word (forward-word) or right one word (right-word).C-bor<left>-- backward one char (backward-char) or left one char (left-char). (Noteleft-charmoves forward when editing right-to-left text.)M-borM-<left>orC-<left>-- back one word (backward-word) or left one word (left-word).C-nor<down>-- down one line (next-line)C-vor<PageDown>-- down one page (scroll-up-command)C-por<up>-- up one line (previous-line)M-vor<PageUp>-- up one page (scroll-down-command)C-x C-n-- set current column as "goal" column for up/down movementC-u C-x C-n-- cancel current goal column
Published 15 Mar 2013
Snippets are tiny notes I've collected for easy reference.
