‘repeat’ command (
‘C-x z’) only repeats the last command, DotMode is a better emulation of vi’s `.’ command as it actually tries to repeat the last buffer change.
As seen in the EmacsFaq:
‘vi’. It redoes the last insertion/deletion.)
‘C-x z’) that repeats the last command. If you preface it with a prefix argument, the prefix arg is applied to the command.
‘repeat-complex-command’) to reinvoke commands that used the minibuffer to get arguments. In
‘repeat-complex-command’you can type
‘M-n’(and also up-arrow and down-arrow, if your keyboard has these keys) to scan through all the different complex commands you’ve typed.
‘vi’emulation mode which comes with Emacs, and which appears to support it. (See ViperMode)