svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
693 stars 21 forks source link

pum completion plugin help #63

Closed davidosomething closed 8 years ago

davidosomething commented 8 years ago

I made a plugin that works with EasyClip registers with some help from rgvim here:

https://github.com/davidosomething/EasyClipRing.vim

When I'm retrieving a multi-line yank, I get a bunch of null characters where newlines should be, any advice on how to clear those up?

svermeulen commented 8 years ago

Cool plugin!

I'm not sure what null characters you're seeing. As far as I can tell, multi-line yanks just contain newlines as you would expect. Can you provide me with an easy way to reproduce the issue you're seeing?

davidosomething commented 8 years ago

managed to fix it with some help on reddit, the substitute line here does the trick

https://github.com/davidosomething/EasyClipRing.vim/blob/master/autoload/EasyClipRing.vim#L37

svermeulen commented 8 years ago

Oh ok cool.