> Date: Tue, 3 Apr 2012 19:43:43 -0700
> From: [email protected]
> To: [email protected]
> Subject: 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
To move lines 1 through 5 after line 10 use:1,5mo10
                                          

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

Reply via email to