sponsor Vim development Vim logo Vim Book Ad

camelcomplete : Vim 9 plugin to complete CamelCase and snake_case identifier abbreviations.

 script karma  Rating 4/1, Downloaded by 303  Comments, bugs, improvements  Vim wiki

created by
Jesse Pavel
 
script type
utility
 
description
This plugin provides a lightweight insert-mode completion function that allows you to expand CamelCase and snake_case abbreviations into their full identifiers. It is purely textual, and doesn't require setting up language servers or defining a project structure; rather, it operates like <C-P>/<C-N>, but on identifier abbreviations rather than prefixes.

As an example (with * representing the cursor position),

  obj.sFM* --> (invoke camelcomplete) --> obj.setForwardMark*
 
install details
Grab the latest version from

   https://github.com/jessepav/vim-camelcomplete/

Or use your favorite plugin manager.

For instace, with vim-plug:

Plug 'jessepav/vim-camelcomplete'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-camelcomplete-master.zip 1.0 2023-01-12 9.0 Jesse Pavel Initial upload
ip used for rating: 216.73.216.4

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github