Tuesday, April 3, 2012

Paste whole block by line number

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?

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

Post a Comment