Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Force linewise or characterwise paste, regardless of how it was yanked.
VimL
tag: 1.10

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
plugin
README

README

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 linewise or
characterwise 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.