Friday, September 5, 2008

Repeat Last Command Line

To repeat the last command-line given in ex mode, you can simply enter a count followed by "@:".

4 comments:

Anonymous said...

I find pressing <Up> in Ex mode more intuitive ":help c_<Up>". It's also one key less to press. You can prefix it with something to filter out. For example ":e <Up>" shows the last Ex command which started with ":e " (and you can press <Up> multiple times until you reach the command you need.

Nate said...

Thanks for this blog. I really enjoy short articles that can really help out with day to day work.

--Nate

Mamachta said...

Cheers. You should try a flattr button instead of donate though.

Jörg said...

Thanks! That made my life easier. Especially repeating the last command multiple times was very useful.