Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8a24b5248b
Fetching contributors…


Cannot retrieve contributors at this time

file 21 lines (17 sloc) 0.821 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
This is a mirror of

If you're like me, you occasionally do a linewise yank, and then want to
insert that yanked text in the middle of some other line (or vice versa).
The mappings defined by this plugin will allow you to do a character-, line-,
or block-wise paste no matter how you yanked the text.

Based on vimtip #1199 by cory,

["x]gcp Paste characterwise (newline characters are flattened
["x]gcP to spaces) [count] times.
["x]glp Paste linewise (even if yanked text is not a complete
["x]glP line) [count] times.
["x]gbp Paste blockwise (inserting multiple lines in-place,
["x]gbP pushing existing text further to the right) [count]
Something went wrong with that request. Please try again.