简体   繁体   中英

VIM uppercase autocompletion

I switched to vim after using Eclipse for many years. One feature which I really miss in vim is upper-case based autocompletion.

Eg when I type SetMWL <ctrl-N> I would like that vim also suggests SetMaximumWordLength for camel-case and set_maximum_word_length for snake_case.

I've also looked for plugins but couldn't find one with this feature.

The easiest way to achieve your demand is using plugins and maralla/completor.vim is one of the plugins which has the functionality.

Although Vim itself doesn't have that kind of functionality by default, you can implement your own completion method using complete() function, but it is not easy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM