tags:

views:

253

answers:

2

how can i paste something on multiple lines?

i'm trying to achieve the same as: In an existing text, I can <C-v>jjjjj<S-I>HelloWorld<CR> to have HelloWorld inserted in 5-rows

but instead of typing HelloWorld I'd like to get the text from a register. i want to first yank HelloWorld then insert it in 5 lines.

A: 

This is about typing the text, but it may get you started :)

http://pivotallabs.com/users/brian/blog/articles/350-column-edit-mode-in-vi

Select0r
The OP knows about this already, he even mentions that in the question! :-)
Alok
+1  A: 

When you are in insert mode, you can press Ctrl-R followed by the letter for the buffer you wish to paste. Then just press Escape as usual and it will be block inserted as normal.

ar