For example, you want to collect a sequence of lines into the a register. Yank the first line with:
"aY
Now move to the second line, and type:
"AY
Repeat this command for all lines. The a register now contains all those lines, in the order you yanked them.
Reference : Vim manual
Subscribe to:
Post Comments (Atom)
3 comments:
Thanks. Exactly what I needed.
Thanks for the tip, but does this also work for the System Clipboard ("*)?
Wicked, I knew this must be possible. Thanks!
Post a Comment