sponsor Vim development Vim logo Vim Book Ad

vicom : Intelligent Line Commenter for the most popular programs [LINUX ONLY]

 script karma  Rating -3/7, Downloaded by 362    Comments, bugs, improvements  Vim wiki

created by
michael lear
script type
Vicom uses the [Ctrl X] and [Ctrl Y] keys to comment or uncomment lines of code in a program.
It does this by examining the filename entered on the command line. It automatically writes
suitable key maps to a small r/w buffer located in the .vimrc file. Allowing the same pair of
keys to perform the comment or uncomment function for different comment styles.
Vicom's purpose is to rapidly comment out or restore blocks of source code whilst testing and
debugging. Used with the Vimake package it turns Vim in to a powerful programmers workbench.
Vicom once installed runs as an alias to both Vim and Gvim. So if you normally start a Vim
session such as:
        vi newprog.cc   or gvim newprog.cpp
Vicom first examines the command line and determines that the comment and uncomment maps should
be for a cpp program. It then writes these maps to a small buffer then passes control on to Vim
to perform its normal loading of the file. Now when you press <Ctl+X> or <Ctl+Y> the correct
comments occur in your program. If you load a file type that Vicom does not recognize the keymap
buffer is cleared.
Vicom recognizes the following file types. Gnu gcc,g++,Nasm,AT&T(gas)as,ruby,perl,python and bash.
install details
copy package to your home directory
run    tar -zxvf vicom-1.05.tar.gz        (vers 1.04 had a bug in automake script)
cd to ./vicom-1.05
run  .configure
run   make install
run  vcominst.

Full installation and usage instruction are in the doc directory.

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
vicom-1.05.tar.gz 1.05 2010-04-09 6.0 michael lear Revised version-1.04 Bug fixed in automake script preventing xydata file being
renamed to match calling program.
vicom-1.04.tar.gz 1.04 2010-04-09 6.0 michael lear Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo