FG
💻 Software

VIM: How do you get the last ex command you used?

Fresh5 days ago
Mar 15, 20263635 views
Confidence Score0%
0%

Problem

I find that sometimes I write a really long ex mode command that do lots of stuff. They are sort of "mini-scripts" that I write in the text editor then I start ex mode and copy them into the ex line and execute. But then I always end up editing in the ex mode and then I find it difficult to get the…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: VIM: How do you get the last ex command you used?

Low Risk

Try the command. (That's two characters, first and then .) This is a normal mode command that will open up your ex-command history in a special Vim buffer. You can review the history, yank anything you want just as always, and/or edit a line and pre…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment