svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
693 stars 21 forks source link

Substitution somehow interacts with neocomplete #18

Closed maxfl closed 10 years ago

maxfl commented 10 years ago

Thank you for such a nice plugin.

There is though exists an issue with interaction with neocomplete plugin: https://github.com/Shougo/neocomplete.vim

if neocomplete is enabled substitution of long enough words (which trigger completion) happens after some delay. Sometimes (but I can not repeat it on another machine) the change then can not be undone by a single 'U' press: it reauires pressing U at least 10 times.

To compare the plugin with similar capabilities 'ReplaceWithRegister' doesn't have such issues.

svermeulen commented 10 years ago

I could not reproduce this issue but I think it may be fixed with my most recent commit. I haven't merged it into master yet but if you want to try it you can get this branch: https://github.com/svermeulen/vim-easyclip/tree/NeocompleteFix

I have no idea why you'd have to hit undo 10 times, that's interesting

maxfl commented 10 years ago

seems to be fixed! Thanks.

svermeulen commented 10 years ago

No problem, thanks for reporting this.