[CLUE-Talk] Vim yank into named buffer?
David Anselmi
anselmi at americanisp.net
Tue Aug 6 18:15:23 MDT 2002
Jeffery Cann wrote:
> Greetings.
>
> 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">
>
> My initial thoughts were
> 1. Move the cursor to the 'w' in 'width' and "aD
> 2. Move the cursor to to the 'w' and "a8w
Ooh! Ooh! I know!
"ayt>
Says yank into buffer a up to the >. t is up to the character (and you
can use t2> to go to the second one and so on). T will go backwards up
to the character you type. f and F are similar but include the
character you type. Very handy.
BTW, you left the y for yank out of your second choice.
Dave
More information about the clue-talk
mailing list