We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems that the count work as expected only when the cursor is placed at the end of the word:
I suspect that here
vim-wordmotion/autoload/wordmotion.vim
Lines 118 to 124 in 0edeebd
if l:count == 1 && l:cw let l:flags .= 'c' endif while l:count > 0 call search('\m'.l:pattern, l:flags.'W') let l:count -= 1 endwhile
And I've tested it and it works as expected after the modification, but I'm not sure whether it will break other stuff.
The text was updated successfully, but these errors were encountered:
Fix cw with count. Fixes #57.
cw
d933726
It was only working without count or when the cursor was at the end of the word.
9f8e716
0e82952
Thanks for the report. Looks like the existing tests only covered cw with count for single character words. Whoops.
Sorry, something went wrong.
No branches or pull requests
It seems that the count work as expected only when the cursor is placed at the end of the word:
![2](https://user-images.githubusercontent.com/65551246/132970002-a4d67ceb-b848-41a9-8038-ae93b43a6c43.gif)
I suspect that here
vim-wordmotion/autoload/wordmotion.vim
Lines 118 to 124 in 0edeebd
shouble be
And I've tested it and it works as expected after the modification, but I'm not sure whether it will break other stuff.
The text was updated successfully, but these errors were encountered: