Everything2
Near Matches
Ignore Exact
Full Text
Everything2

The E2 Emacs Reference Guide

created by Teiresias

(idea) by Teiresias (1.3 wk) (print)   ?   (I like it!) Wed Jan 31 2001 at 13:29:08

The E2 Emacs Reference Guide

Some conventions

C-       - press and hold the Ctrl key
M-       - press and hold the Meta key (usually Alt/Esc on PC keyboards, and diamond on *nix ones)

Starting and leaving emacs

emacs     - Starts emacs

C-z       - Suspends the current session

C-w C-c   - Exits emacs

Navigating around the editor window

Cursor motion:
     
entity to move over                  backward      forward

character                              C-b           C-f

word                                   M-b           M-f

line                                   C-p           C-n

beginning or end of line               C-a           C-e

beginning or end of sentence           M-a           M-e

beginning or end of page               C-x [         C-x ]

Scroll motion:

C-v     - Next screen

M-v     - Previous screen 

C-x  <  - Scroll left 

C-x  >  - Scroll right

File Operations

C-x C-f - Open a file

C-x C-s - Save a file

C-x i   - Insert a file into the current buffer

C-x C-w - Save the current buffer

Killing and deleting text

entity to kill                          backward      forward
character (delete, not kill)             DEL           C-d

word                                     M-DEL         M-d

line (to end of)                         M-0 C-k       C-k

sentence                                 C-x DEL       M-k

M-z     	- Kill to next occurrence of char

Formatting

TAB	- Indent current line 

C-M \	- Indent region 

C-o	- Insert newline after point

C-M-o	- Move rest of line vertically down

C-x C-o	- Delete blank lines around point

M-\	- Delete all white space around point

C-x .	- Set prefix each line starts with

M-u	- Uppercase word 

M-l	- Lowercase word 

M-c	- Capitalise word

Help

C-h t	- Start the tutorial 

C-x 1	- Close Help window

Esc C-v	- Scroll Help windows

Searching

C-s	- Search forward 

C-r	- Search backward  

C-g  	- Cancels Search   

Error Recovery

C-g 	- Abort command

C-x	- Undo

For further information see http://www.gnu.org/manual/emacs/html_mono/emacs.html

This was an attempt to drag together a beginners guide to emacs

Any additions/corrections /msg me


printable version
chaos

the key commands all emacs users should know Your first writeup will be nuked: Don't give up Using Emacs as a programmer's calculator The quickest way to crash Windows NT/2000/XP
vi Have you let Emacs into your heart? Japanese cigarette package warnings The dirtiest verse in the Bible
Emacs Lisp Saving outgoing mail with Emacs *nix The Church of Emacs
The Everything People Registry : Hell Meta means Esc The Extraordinary Adventures of Baron Munchausen vi keys
Emacs The terrorists have already won "ANY BREAKFAST BAGEL SANDWICH" at McDonald's! Method of Exhaustion XEmacs
control escape meta alt control shift CMUCL Nodder
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
The best nodes of all time:
Mound Builders
Rosette-forming Crassulaceae
B movie
Elder Futhark
William Sleator
Fear of sex is the power of rape
Zen and the Art of Hacking
The Old Man and the Sea
Robert Rodriguez
The Serial Killer Jailbait Airline Lotto
This heart that lives in winter
Thomas Aquinas
Tom Waits
New Writeups
Ysardo
a brother to a sister(personal)
antigravpussy
your warm whispers(personal)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
E2 is a by-product of the existence of The Everything Development Company