bkad / CamelCaseMotion

A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script)
593 stars 45 forks source link

Buggy motion for consecutive uppercase letters #8

Closed dlee closed 9 years ago

dlee commented 12 years ago

Some buggy cases after pressing ,w from the start of the word:

expected:

NERDTreeToggle
    ^

actual:

NERDTreeToggle
 ^

expected:

OpenSSL
    ^

actual:

OpenSSL
       ^
bkad commented 12 years ago

Ah, excellent find. I'll take a closer look when I get a chance.

inkarkat commented 12 years ago

Good catch. I've been (on and off) working on a revamped pattern for camelcasemotion 2.00, and I've fixed it there. I still need to do more testing, so it'll be a while until I publish it on vim.org. Stay tuned.