We frequently need to edit the beginning or end of a line. The text may also be arranged in columns. We can then resort to keyboard macros, but there's a less laborious approach.
Suppose we're editing this excerpt:
foo = 1
We frequently need to edit the beginning or end of a line. The text may also be arranged in columns. We can then resort to keyboard macros, but there's a less laborious approach.
Suppose we're editing this excerpt:
foo = 1
Emacs C-x z
can be used to repeat a single command.
To emulate Vim's dot command (.
), use
keyboard macros.
A typical workflow:
C-x (
to start recording a macro, C-x )
to end the recording.C-x e
(repeat with e
);