Beruflich Dokumente
Kultur Dokumente
s
Qui
k Referen
e Guide
for CS61A
C-SPC
M-
M-h
C-x h
Cursor motion.
C-f
C-b
M-f
M-b
C-e
C-a
C-M-f
C-M-b
M-e
M-f
M-a
M-g
C-n
Next line.
C-p
Previous line.
M-<
Beginning of buer.
M->
End of buer.
C-v
S
roll text up one s
reen (or ARG lines).
M-v
S
roll text down (or ARG lines).
M-g
Go to line number ARG.y
M-x what-line Display line number.
C-M-v
S
roll other window up one s
reen (or ARG
lines).
Same as C-.
Set mark after end of next word.
Set mark and point around
urrent
paragraph.
Set mark and point around
urrent buer.
Indentation
TAB
LFD
M-;
M-LFD
C-x TAB
C-M-n
Sear
h
C-s
C-s C-s
C-r
41
Sear
h forward.
Same as C-s with last string.
Sear
h ba
kward.
C-r
C-u
M-x
M-x
M-x
C-r
Same as C-r with last string.
C-s
Sear
h forward for regular expression.
o
ur Display lines mat
hing a regular expression.
grep
Display results of UNIX grep utility.
ount-mat
hes
Repla
ement
M-%
Query repla
e.
M-x delete-mat
hing-lines
M-x delete-non-mat
hing-lines
nn
Files
C-x
C-x
C-x
C-x
C-x
M-x
C-f
Find le; load if needed.
4 C-f Find le in other window.
C-s
Save le.
C-w
Write to expli
itly-named le.
i
Insert le at
ursor.
re
over-file Re
over le after disaster from auto-
save le.
Regular expressions
.
^
$
[...
[^...
*
+
?
n
nb
nB
nj
n(...n)
C-x
C-x
C-x
C-x
C-x
b
0
3
C-b
k
Shells
M-x shell Run UNIX shell in a buer.
M-j
Exe
ute single shell
ommand on region.
With
RET
TAB
C-
C-
42
C-
C-u
C-
C-z
C-
C-d
C-x SPC
C-
C-i
S heme
C-h
C-h
C-h
C-h
C-h
C-h
C-h
C-h
b
f
C-h
i
k
m
t
w
ommands.
Display key bindings.
Help for M-x fun
tion.
Help for C-h.
Run info browser.
Help for key.
Help for
urrent mode.
Tutorial.
Key
ontaining fun
tion.
Mouse
ommands
Left, middle, and right buttons are LB, MB, and RB.
LB
Put
ursor at mouse. Dragging marks
region.
MB
Paste text from window-system
ut buer at
mouse.
RB
Extend region to pointer and
opy into
ut and kill buers. Cli
king twi
e deletes
region.
C-LB
Sele
t a buer.