Recently I had to compile a latex file a few times, :!pdflatex filename.tex
did the trick. But is there a way in normal mode to repeat commands like these which are in the recent history,but used repeatedly for a short time.
Setting keybinding to for :command
is not what I am looking for, since the command is used only for a short time.
:help @:
. Is that what you mean?