emacs-evil / evil-surround

you will be surrounded (surround.vim for evil, the extensible vi layer)
Other
627 stars 60 forks source link

e fails to jump from end of single letter word #149

Open daphniz opened 5 years ago

daphniz commented 5 years ago

Type

a bald king

place point before 'a' and do 'yseb'. You will now have

(a) bald king

rather than

(a bald) king

as in VIM. In fact, there is no way to get this from that position. 'ys2eb' will give

(a bald king)
ninrod commented 5 years ago

I think the "counting" error is actually linked to another bug already reported. And yes, the behaviour is different than we get in vim. Thanks for reporting.

ninrod commented 5 years ago

A PR would be welcome, by the way!