The fastest way is to run the command, switch to the destination buffer (in this case, load .vimrc ) and insert the entire command from register : by typing
":p
in normal mode.
If the team returned on time, you can first recall it from the story (for example, by typing the first few letters and pressing Up ), try again, and then use the above method.
When these shortcuts are unmanageable, you can resort to a general approach using the command line window (see :help cmdwin ). To open it, either type q: in normal mode or press the key combination specified in cedit ( Ctrl + F , by default) in Command Line Mode.
ib.
source share