With cursor on the 'r' of 'rst', do this key sequence:
<ctrl-v>lll jj d gg A <space><space><esc>p
This is same as what Jan said, just putting down the keystrokes.
On Monday, 2 January 2017 04:29:07 UTC+5:30, hiwa wrote:
> We only get the [p] result as:
>
> abc rst
> uvw
> xyz
> def
> ghi
>
> That is, and has been, our current perpetual problem.
>
> On 2017年01月02日 01:02, Paul wrote:
> > 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.
Monday, January 2, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment