machakann / vim-highlightedyank

Make the yanked region apparent!
844 stars 22 forks source link

Include support for Neovim's TextYankPost #7

Closed thalesmello closed 8 years ago

thalesmello commented 8 years ago

Hello.

I really like this plugin functionality, but I don't like the fact that you have to remap the y operator.

Therefore, to solve my use case, I've included support the Neovim's TextYankPost event, which allows highlightedyank to work without fussing around with remaps. Do you think it could be useful to other users of the project?

machakann commented 8 years ago

TextYankPost! That sounds very convenient!

One thing I'm afraid is the autocmd TextYankPost may triggered even by a just internal process of another plugin, but ok let's try. Your idea looks nice. Let me see.

machakann commented 8 years ago

Thank you for your great help!

thalesmello commented 8 years ago

=)