On Tuesday, July 17, 2012 12:58:20 PM UTC+5:30, Christian Brabandt wrote:
> The Ex command :yank takes an optional argument of the register, so use
> :5y a
> to yank line 5 into register a.
>
> You can even do:
> :5y a 10
> to copy the following 10 lines (e.g. lines 5-14) into register a
>
> regards,
> Christian
Thanks, works great!
--
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
Tuesday, July 17, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment