tommcdo / vim-exchange

Easy text exchange operator for Vim
MIT License
756 stars 23 forks source link

Don't require +xterm_clipboard option #31

Closed valeriangalliat closed 9 years ago

valeriangalliat commented 9 years ago

Hey,

I have the following error with vim-exchange with Vim on a server (not compiled with +xterm_clipboard):

Error detected while processing function <SNR>96_exchange_set..<SNR>96_exchange_get:
line   34:
E354: Invalid register name: '*'

I quickly fixed it by removing all references to * and + registers, but there should maybe be a condition before using these registers?

tommcdo commented 9 years ago

Good call, thanks!

valeriangalliat commented 9 years ago

Fixed with the last commit, thank you!