|
|
 | | From: | Shawn Corey | | Subject: | Re: [vim] How do I paste selected block into :ex command line? | | Date: | Fri, 07 Jan 2005 08:30:55 -0500 |
|
|
 | Daewon YOON wrote: > I'm using vim 6.1. > > How do I select a word or block and put it into the > :ex_mode command line to use it for further use? > > For example I would select some function name using > visual blocking, and I'd like to search or replace > the selectd pattern. > > Thanks in advance. > > -- > ZOO-<
You use CONTROL-R during :ex or :s to paste a buffer in the command line.
^R/ contents of the search buffer ^R" contents of the un-named buffer ^R* contents of the visual (clipboard) buffer ^Ra contents of 'a' buffer
--- Shawn
|
|
|