0

is there any 'Normal mode' command to repeat last command runs in 'command-line mode'?

for example i move up a line in 'command-line mode' with :m -2 and later i want to move up some other lines. is there any normal mode to repeat :m -2 without type :@ in 'command-line mode'.

3
  • For what it's worth, "normal mode" and "command mode" are synonymous. What you call "command mode" is actually called "command-line mode". See :help vim-modes. Commented Aug 31, 2022 at 9:48
  • synonyms u mean! Commented Aug 31, 2022 at 11:36
  • No. I mean synonymous, the adjective. Commented Aug 31, 2022 at 11:41

1 Answer 1

5

Just hit @:.

See :help @: for help.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.