Giter VIP home page Giter VIP logo

vicom's Introduction

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3048

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.

vicom's People

Contributors

mikeofthenight2003 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.