vim-wordmotion icon indicating copy to clipboard operation
vim-wordmotion copied to clipboard

around word does not select prior separator characters.

Open 1wsx10 opened this issue 1 year ago • 0 comments

consider the scenario: return true;

your cursor is somewhere on true and you use vaw. default vim selects true and the prior space, this plugin just selects true.

it seems like you get this right in some scenarios, eg: return true here the space will be selected.

it happens with other delimiters than spaces too: return my_var; if your cursor is on var, it won't select the underscore. return my_var but do the same on this line, and the underscore is selected.

1wsx10 avatar Jul 27 '22 07:07 1wsx10