I've just called an interactive function (i.e., a command). I want to call it again, with the same arguments. I know that I can call a keyboard macro again by using
e right after running it the first time. Is there something similar regarding interactive functions?
There is also
repeat-complex-command (normally bound to C-x ESC ESC as well as several others (that's the one I use, so I remember that)). This will go back further in the history to the last command that required interaction (i.e. prompted for input).
You are looking for
repeat, bound by default to
C-x z. The
first part of the docstring:
Repeat most recently executed command. If
nil(interactively, with a prefix argument), supply a prefix argument to that command. Otherwise, give the command the same prefix argument it was given before, if any.
If you use
evil, you also have access to the beloved dot command