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

Match inside variable names might not be complete.

Open martong opened this issue 11 years ago • 2 comments

Hi Tim,

This is a great plugin. Though I think , Abolish -search -flags=v fooBar should match all three below:

fooBar
FooBar
foo_bar

However this can be done only with a far more complex search like this: Abolish -search {f,F}oo{,_}{b,B}ar Maybe I am missing something, is there an easier way to match the 3 words above?

Thanks

martong avatar Sep 30 '14 16:09 martong

Same for Subvert. To switch from

setButtonLabel()
buttonLabel()
m_button_label

to

setButtonTitle()
buttonTitle()
m_button_title

I have to use %Subvert/button{,_}{L,l}abel/button{,_}{T,t}itle/g instead of expected %Subvert/buttonLabel/buttonTitle/g.

noscript avatar Feb 18 '15 11:02 noscript

Kind of amazed I've never need this. The currently supported convention is that you give the underscore rather than the camel case form. I would accept having Abolish -search -flags=v foo_bar include fooBar.

tpope avatar Mar 15 '15 19:03 tpope