svermeulen / vim-easyclip

Simplified clipboard functionality for Vim
693 stars 21 forks source link

Cutting off-by-one error with selection=exclusive setting #107

Closed louwers closed 5 years ago

louwers commented 7 years ago

m consistently doesn't cut the last character of what needed to be cut with the the selection option set to exclusive.

To reproduce:

ihello world<Esc>0
:set selection=exclusive<CR>
m$

Expected result

Actual result

d
nkgm commented 7 years ago

I've had the same problem with other plugins. It almost feels like exclusive was never meant to be used, or the great vimmers out there have good reason not to use it. I've been experimenting with exclusive and onemore checking how well they play with motions and visual, but with the overall lack of support it's starting to feel like a bad idea.

svermeulen commented 5 years ago

I think this is fixed now