faqts : Computers : Software : Text processing : Editors : Emacs

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 3 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

Where can I find a quick-reference to emacs commands?

May 13th, 2003 16:44
Peter Theill, Per M Knutsen,


Right here! It is certainly far from exhaustive, but includes the basic 
commands that any emacs-novice should learn on Day 1:
*** NAVIGATION ***
C-a			Move to beginning of line
C-e			Move to end of line
C-x [			Move cursor to top of buffer
C-x ]			Move cursor to end of buffer
ESC-x goto-line		Move cursor to line #
PageUp			Move cursor one page up
PageDown		Move cursor one page down
*** SEARCH & REPLACE ***
C-s			Search incrementally
C-s RET C-w		Search for word
*** EDITING ***
C-k			Kill line
C-@			Set mark
ESC w			Copy from mark to cursor
C-w			Cut from mark to cursor
C-y			Paste
C-x C-x			Exchange-point-and-mark
C-x C-u	OR C-_		Undo
C-t			Transpose two preceding letters
*** HANDLING BUFFERS ***
C-x C-d			Read directory
			  FTP -> /username@host:
C-x C-f			Read file
			  FTP -> /username@host:/dir/file
C-x C-s			Save buffer
C-x C-w			Save buffer as
C-x k			Kill current buffer
ESC x revert-buffer	Revert buffer to last saved version
*** EMACS ***
C-x C-c			Quit emacs
C-z			Make emacs background process
C-g			Escape minibuffer
If you would like to get additional commands and/or wants a printed copy
this web site is a great resource:
  http://www.refcards.com/about/emacs.html