Emacs
Emacs and its derivatives are a family of text editors that are charactevized by their extensibility
Lingo
control key (CTRL|
Hy meta key (ALT ot ESC)
Eciting
ca Delete a character foward)
pet Dolote a character
(backward)
ne Dalote 2 word (torward)
Hoe Delete 9 word (backwara)
ck Delete aline forward}
CPC, Ca, Delete aline (backward)
cw
Mok Delete a sentence (orwara
cox, DEL Delete a sentence
(backward
tek Delete an expression
Aforwara)
CoH-DEL Delete an expression
(ackware
Files and Butters
Cox, CH) Find file (or create it not existing)
x, \s) Savefile
Gx, (Cw) Write me
x,/s) Save modited butters
Cx, /b) Select butter
Cx, (C+b) List butters
Cx, k) — Killbutter
Help
[&, Show command documentation
k
Ch, “Command apropos’
ER, Show command name on message
Ch, Describe function
1
Eh, Info browser
Qulek Answers
Gx, CF tind tle
Cx, Cs) savefie
Cx, Ge exit Emacs
Scrolling and Windows
Gv PageDown
Mv Page Up
Gey) Page Down other window
x, 1) Make current window only window
Gx, 2) Spltwindow verticaly
Gx, 3) Spitwindow horzontaty
x, 4) Grow window vertealy
Gx, 0) Suitehtonextwindow
Gx. @) Close current window
Cutting and Pasting
| setmark
sec
Gy Cutaner setung mark and moving to
end point)
Mew Copy after setung mari and moving to
end point)
Cy Yank (paste) most recently kiled (eut or
copied)
Mey Yank next most recently killed
‘Searching and Replacing
cs Incremental search forward
cr Incremental search backward
ches Regexp search forward
cer Rogoxp search backward
tx String replace trom here to
crepiace- ent btfer
strings
rer
Mx ‘String replace from hore to
fend of buffer, querying for
query Se
replace ccurence
rer
mx Prompts fora grep command,
shows hits n a buffer
sre,
rer
cx. Vesitnext grep hit
‘Cursor Motion
or Move forward by a character
ay Move backward by a character
er Move forward by a word
ca Move backward by a word
on Move forward by a line
oo Move backward by aline
he Move forward by a sentence
no Move backward by a sentonce
co) Move forward by @ paragraph
me Move backward by a paragraph
cut Move forward by an expression
cmb Move backward by an
expression
ca Move to the start of ane
ce Move to the end of line
me Move to the start ofa butter
he Move to the end of abutter
Hela, — Gotolinenumber #
7.
‘Commanct-Related Stuff
esc Leave current location
esc
esc
Cu, /# —Preticnument argument # to next
command
fay Stop running command, or cancel
partially entered command
Undolredo.
ar) Undoitedo (alternative)
ca Quoted insert
cz Suspendiconity emacs
itype "emacs" to return
or, ce Exit emacs
tx Flush /M at end of tine
“eshell-strip-
errlen
Rev