Kamailio has a dedicated syntax file for vim -- from sources, do (as user editing the config):

cd utils/misc/vim
make install

After that, when you open kamailio.cfg, vim/gvim/kvim/macvim should detect that it is kamailio syntax and with do proper highlighting. Perhaps some tokens/keywords added lately are missing from the syntax file, but it is still very good. I use it everywhere.

Cheers,
Daniel

On 21/08/14 16:51, Alex Balashov wrote:
Vim + :syntax on does a fine job with Kamailio route script.

Mostly.


On 21 August 2014 10:39:59 GMT-04:00, Grant Bagdasarian <GB@cm.nl> wrote:

Right. I have sublime text installed. Any recommendations for a color scheme?

 

From: sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of Narsay, Deep
Sent: Thursday, August 21, 2014 4:24 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio script editor

 

vi (vim/gvim)  or sublime text are more efficient than notepad. (They also have multiple color schemes) .

 

On Thu, Aug 21, 2014 at 10:08 AM, Grant Bagdasarian <GB@cm.nl> wrote:

Hello,

 

What editor do most of you use for editing the kamailio config script? I’m using notepad, which works fine, but sometimes I wish I had something like text coloring and other useful stuff found in most scripting editors.

Are there perhaps any plans for developing an editor for the kamailio config script? With code completion, etc.

 

Regards,

 

Grant


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

 


SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

--
Sent from my mobile, and thus lacking in the refinement one might expect from a fully fledged keyboard.

Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0671
Web: http://www.evaristesys.com/, http://www.alexbalashov.com

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
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