[SR-Users] [OT] vim auto-complete plugin for kamailio.cfg

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 1 10:28:22 CEST 2014


I published a vim plugin offering basic autocomplete for kamailio 
configuration file. It is available via githup at:

   * https://github.com/miconda/vim-extensions

More details about the plugin (including how to install and use) can be 
read at:


It was written more as a proof of concept so far, hopefully interested 
people will join development to bring it to a 'smarter auto-complete' 

Right now it relies on custom autocomplete feature from vim -- once 
activated, as you type a word, by pressing CTRL+x CTRL+u a pop up box 
presents possible completion by matching the typed part of the word.

The dictionaries include module functions and parameters, script 
variables, core functions and parameters (they were generated with some 
scripts grepping various files, thus they might not be complete).

It is not (yet) aware of context, so it displays all matches (e.g., even 
when in a route block, it displays core parameters), so again, everyone 
is welcome to contribute/fork/pull requests to develop the plugin 
further. The readme lists some other goals as well.

Hopefully it is going to be useful at least for some people in the 


Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA

More information about the sr-users mailing list