CamelCaseMotion icon indicating copy to clipboard operation
CamelCaseMotion copied to clipboard

Repeating a count camelcase motion only does one camelcase motion

Open dlee opened this issue 11 years ago • 4 comments

I have the mapping:

map <silent> w <Plug>CamelCaseMotion_w

When I do 2cw or 2dw, it deletes two words the first time, but then when I repeat the action using ., it only deletes one word.

This might need to be fixed using https://github.com/tpope/vim-repeat.

dlee avatar Sep 17 '12 00:09 dlee

Good point, worth looking into.

bkad avatar Sep 19 '12 00:09 bkad

Hi, I emailed @inkarkat recently regarding this plugin (which no longer appears to be on his repo so I don't know if you've taken over control of it or not).

I was saying to @inkarkat that I wanted to include the plugin within a book I'm writing for Apress on Vim.

Unfortunately I can't really include it if it's causing problems with Vim's repeat command (as it could confuse readers).

Is there any chance of this being fixed any time soon (this particular issue has been open for nearly two years now). Ingo had mentioned that he was working on a 2.0 release of this plugin so am interested to know if it's being done as part of this repo or not?

Thanks.

Integralist avatar May 29 '14 17:05 Integralist

I have not taken over ownership of CamelCaseMotion. I started this repo so that I could have my pathogen bundle point to a copy of CamelCaseMotion with a bugfix I patched in. The 2.0 development will not be happening in this repo. Hope that clarifies things!

As for the repeat bug, I haven't been able to successfully integrate with repeat.vim. Hopefully someone with more vimscript expertise can look at the issue. Best wishes for you and your book!

bkad avatar May 29 '14 21:05 bkad

No problem. Thanks for the feedback!

Integralist avatar May 30 '14 06:05 Integralist