Friday, April 10, 2009

Pull Into Ex

If you position your cursor over a given word and type :<ctrl-r><ctrl-w> it will pull the value into your current ex mode command line. This is great for yanking long values into substitutions among other things.

Thanks to Nate for the tip!

2 comments:

dominiko said...

After yanking some text, it is also possible to use <CTRL-R>" to insert the content of the unnamed register into the Ex command line.

Anonymous said...

Good tips. Keep 'em coming!
:-)

Casey