Append one range of lines to the end of another range of lines

Posted by Dave Tapley on Stack Overflow See other posts from Stack Overflow or by Dave Tapley
Published on 2010-03-26T16:57:57Z Indexed on 2010/03/26 17:23 UTC
Read the original article Hit count: 539

Filed under:
|

Here is an example buffer in vim:

foo
bar
pip

one
two
three

And here is what I would like to produce:

fooone
bartwo
pipthree

Ideally by specifying the two ranges of line numbers, but a sequence of commands would also be great.

© Stack Overflow or respective owner

Related posts about vim

Related posts about gvim