Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8a24b5248b
Fetching contributors…

Octocat-spinner-32-eaf2f5

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 http://www.vim.org/scripts/script.php?script_id=3355

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

SOURCE
Based on vimtip #1199 by cory,
    http://vim.wikia.com/wiki/Unconditional_linewise_or_characterwise_paste

USAGE
["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]
times.
Something went wrong with that request. Please try again.