prepare:


echo "com -nargs=1 HI exe histget('c', )" >> ~/.vimrc

then start vim and type to show the history (commands last typed):

[ESC]
:history
# or short
:his

now to re run the command #LineNumber 29, type:

:HI 29


admin