---------------------------------------------------------------------------------------------------------------------- EMACS COMMANDS ---------------------------------------------------------------------------------------------------------------------- version 18 MAR 2011 by Mark Boyd additions 10 SEP 2013 by Todd Henry ---------------------------------------------------------------------------------------------------------------------- x you should see M-x at the bottom of your emacs window replace-string replaces string with stuff --- see also x sort-columns sorts columns --- you can't have any tabs in the file, see "untabify" string rectangle inserts whatever string in front of a given column --- x rt is easier untabify remove all tabs in file ---------------------------------------------------------------------------------------------------------------------- you should see C-c- at the bottom of your window a mush everything into 70 character width paragraph - useful for papers b move backward one character e end of line f move forward one character g move to top h move to bottom k delete (kill) line l move current line to middle of screen n move to next line p move to previous line q shows line number r search backward (then type in character string) s search forward (then type in character string) t search forward (then type in character string) v scroll foward by screenful w kill region (used with C-space) y replace line (yank) z minimize window space set mark command _ undo (ctrl + shift + dash) c bailout - interrupt c y yank (with section, I think) (used with C-space) c p put (put that section elsewhere or something) c r find and replace. x c quit x k kill buffer x l count lines page x rt same as string rectangle, easier (use with C-space) x s save x sr string rectangle function as above x u undo last edit x = tells you what character you're on in a given line; sorta like the column equivalent to C-q [arrow key] go to the next space in that direction ---------------------------------------------------------------------------------------------------------------------- d delete word k kill sentance $ spellcheck v scroll backward by screenful ----------------------------------------------------------------------------------------------------------------------