8.2 Editing

KeyActionRemarks
w, WWrap with parens and insert, wrap and append
x, X, DDelete, delete backwards, delete remaining
c, CChange, change remaining
y, Y, p, PYank (copy), yank remaining, paste after, paste before
C--, sClear, replace/substitute
SChange "surrounding" delimiter
H, LMove/shift symex backwards, forwards
M-H, M-LMove/shift symex backwards, forwards as far as possible on line or columnRemember that usually the Meta prefix M- means "the most" and the Shift prefix S- means an action or "to shift" in a direction
KRaise
C-S-j / C-{, C-S-k / C-}Emit backwards, forwards
C-S-h / C-(, C-S-l / C-)Capture backwards, forwards
z, ZSwallow head, swallow tail
|, &Split, join/merge
-SpliceClip the delimiters, joining the symex to the containing expression
>, C-> / C-S-oInsert newline before, append newline after
<, J / C-<Join with preceding line, join with next line
M-J / M-<Collapse to a single line
M->Unfurl across multiple lines
C-M-<, C-M->Collapse remaining, unfurl remaining
=, <tab>TidyIndent and remove extraneous whitespace
C-=, C-<tab>Tidy remainingTidy remaining symexes at this level
M-= / M-<tab>Tidy recursivelyTidies while traversing the symex from the highest branch to the root, for cases where a simple tidy isn’t adequate
;, M-;Comment out, comment out remaining
i, aInsert at beginning, append at end
I, AInsert before, append after
o, OOpen line below, above
(, [Create symex with indicated delimiter
), ]Wrap symex with indicated delimiter
C-', C-,, `, C-`Cycle quoting, cycle unquoting, add quoting level, remove quoting level
., C-.Repeat last command, cycle through recent commandsSimilar to Evil’s “dot” operator and “repeat-pop” command
<return>Enter insertion state
<escape>Exit