Monday, October 4, 2010

Re: Buffers in command line?

On Monday 04 October 2010 16:03:28 Ven Tadipatri wrote:

> Hi,
> I was wondering if there was a way to paste the contents of
> a buffer when in command line mode. For example, if I want to
> search for the word that I'm on, I was thinking of
> highlighting it in visual mode, yanking it into a buffer,
> then searching for what I yanked.

and i'm wondering if what you're really looking for here is
the '*' and '#' commands -- no need to yank anything, no need
for visual anything, just put the cursor over the word you
want to search for and hit the asterisk -- a real convenience
feature -- asterisk searches forward, hash searches backward

sc

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: