[CLUE-Talk] Vim yank into named buffer?

Lynn Danielson lynnd at techangle.com
Tue Aug 6 17:33:10 MDT 2002


Jeffery Cann wrote:
> 
> My colleague at work is learning vi (actually using vim).  She asked me the
> following question: I want to copy this text 'width="332" height="87" from this
> line into a named buffer.  What's the best way?
> 
>   <img src="../images/mi_home_splash.gif" width="332" height="87">

If she's using vim and not into vi purism, I'd use vim's higlighting feature.
Simply highlight the text with a mouse if you're using X or use the 'v' command
and highlight by moving the cursor.  If you then enter the ':' command the
from "'<" to "'>" marks should already be entered at the prompt.  Simply add
the 'w' command to write out to a file of your choice.

Lynn




More information about the clue-talk mailing list