machakann / vim-highlightedyank

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

Dot doesn't repeat last yank #17

Closed rafaeln closed 7 years ago

rafaeln commented 7 years ago

This is a great plugin. Thanks! I have had to deactivate it for the time being, though, because for some reason I can't use the dot command to repeat the previous yank.

machakann commented 7 years ago

Please try:

set cpo+=y
machakann commented 7 years ago

Ah, excuse me, it may not work properly. I will check it.

machakann commented 7 years ago

OK, now highlightedyank changes its behavior for dot repeat, depending on the cpo-y option as same as the default y command.

Please update and add the line into your vimrc to try.

set cpo+=y
rafaeln commented 7 years ago

That fixed it. Thanks!