------------------------------------------------------------------------------ Emacs Commands ------------------------------------------------------------------------------ Last update 06 MAY 2009 by Mark Boyd ALT x -> (M-) "replace-string" :replaces string with stuff (see also C-x) "sort-columns" :sorts columns (doesn't like tabs) "untabify" :untabify "string rectangle" :inserts whatever string in front of a given column CTRL +: (C-) _ :undo c :bailout c y :yank (with section, I think) c p :put (put that section elsewhere or something) c r :find and replace. Dwigt. e :end of line e :move to end of line g :move to top h :help command h :move to bottom k :kill line l :recenter n :next line P :previous line space :set mark command v :scroll foward by screenful w :kill region x c :quit x k :kill buffer x l :count lines page x s :save x sr :string rectangle function as above y :replace line (yank) s :search (C-t : next; C-r : previous) q :shows line number c -> y :after marking and then moving the cursor elsewhere, will delete the column(s). ESC d :delete word k :kill sentance $ :spellcheck v :scroll backward by screenful grep 'string' initialFileName* (or * for all files) : searches for string in the subset of files selected. source :applies stuff to stuff. or something ------------------------------------------------------------------------------