svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
693 stars 21 forks source link

Pasted over text comes back when using <CTRL-N> and <CTRL-P> #105

Open mhinton opened 7 years ago

mhinton commented 7 years ago

If I have this text and I copy the words 'one', 'two', and 'three'.

one two three four

Then on the word four I highlight it and paste via vep. I then have this:

one two three three

If I then try and go through the yanks I get this:

one two three ftwoour

Here are my Easyclip settings:

let g:EasyClipAutoFormat = 1 " automatically format text immediately after it is pasted let g:EasyClipUsePasteToggleDefaults = 0 nmap EasyClipSwapPasteForward nmap EasyClipSwapPasteBackwards

svermeulen commented 7 years ago

This does work properly if you use the substitution operator. Have you tried that?

I'm not sure if there's much we can do about this, but you're right it is strange behaviour