Tuesday, April 3, 2012

RE: Paste whole block by line number

horsecandy wrote:
> My current method for pasting blocks of code is to select
> them in visual mode, copy/yank them, and paste. Frequently I
> see a line or two that I would like to copy or move to
> another line without going through this hassle. Is there a
> command that can be used to move or copy a whole block of
> text, specified by line number, to some other line-number
> specified block?

There is more on what Roy said at:
http://vim.wikia.com/wiki/Ranges

John

--
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: