Sunday, January 1, 2017

Re: How to do block pasting?

On Sunday, 01 January, 2017 at 09:21:08 GMT, Hiroshi Iwatani wrote:
>On my gvim screen, there are two sections on a same column:
>
>abc
>def
>ghi
>
>rst
>uvw
>xyz
>
>and I'd like to have two different columns aligned on same lines, like this:
>
>abc rst
>def uvw
>ghi xyz

Visual block select (control-v) and yank the second block. Enter two spaces after the c. Either enter normal mode and paste, or control-o and p.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment