Short Emacs Tutorial

From dftwiki3
Revision as of 17:41, 12 September 2015 by Thiebaut (talk | contribs) (Created page with "--~~~~ ---- =Emacs= <br /> ==Reference== <br /> * The page Emacs Quick Reference contains a list of most '''emacs''' commands you will ever need. * T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

--D. Thiebaut (talk) 18:41, 12 September 2015 (EDT)


Emacs


Reference


  • The page Emacs Quick Reference contains a list of most emacs commands you will ever need.
  • There are also many tutorials on the Web on emacs.


Minimalist Set of Commands


  • To create or edit a file called filename (replace with name you want to use for your file):
 emacs -nw filename

  • Then enter text as simply as possible.
  • To save the file and exit:
Control-X Control-C 

  • To erase a character: Control-d
  • To delete a line: Control-k
  • To bring a deleted line back: Control-y
  • To go down one page: Control-v
  • To go up one page: Esc-v
  • To go to the beginning of a line: Control-a
  • To go to the end of a line: Control-e
  • To replace a string (say "Better") with another string( say "Best" ):
  Esc % Return Better Return Best Return