Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
9Activity
0 of .
Results for:
No results containing your search query
P. 1
Emacs Cheat Sheet

Emacs Cheat Sheet

Ratings:

5.0

(1)
|Views: 341 |Likes:
Published by fds

More info:

Published by: fds on Sep 29, 2007
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/12/2011

pdf

text

original

 
http://ccrma.stanford.edu/guides/package/emacs/emacs.html1 of 29/16/07 8:18 PM
Emacs Cheat SheetStarting
emacs
>
emacs
to start emacs.
>
emacs filename
to start emacs and load a file
>
emacs -nw filename
to start emacs with no newwindow (load file)
Quitting
X C
quit emacs (Can be usedwith impunity -- thesystem will prompt if theworkspace has not yetbeen saved.)
G
aborts any command inprogress
Help
H T
to see the tutorial
H
topic 
 
to see help about
topic
X U
undo the last command
Cursor Positioning
F
orforward (right) onecharacter.
B
orback (left) one character
P
orup one character
N
ordown one character
B
left one word
F
right one word
 A 
 
to beginning of line
E
 
to end of line
<
 
start of document
>
 
end of document
V
 
page up
V
 
page down
L
 
cursor in middle of screen
U
20 
N
 
advance
20
lines
x
 
display the line numberwhere the cursor is located
X
goto-line 
 
99
 
go to line number
999
Search and Replace
S
 patterntext
 
search for
 patterntext 
;cursor moves as you type.Press once at thecorrect location
R
 patterntext
 
search backwards for
 patterntext 
; cursor moves asyou type.
S
search for the nextoccurrence
%
oldstring 
 
newstring 
 
Search for
oldstring
andreplace it with
newstring
.
Regions
SPC
set mark at cursor
 W 
kill region
 W 
copy region to kill ring
Y
yank back last thing killed
Loading and Saving
X F
filename 
create new
 filename
forediting (clears workspace)
X F
filename 
load in
 filename
for editing
X
filename 
write (save) as
 filename
X S
resave under the currentfilename (based on aboveor name given whenstarting
emacs
)

Activity (9)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Sirish Kumar liked this
Sirish Kumar liked this
amirbekr liked this
adicon liked this
Chris Hoff liked this
beltranix liked this
blackwoof liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->