vim-scripts / vicom Goto Github PK
View Code? Open in Web Editor NEWIntelligent Line Commenter for the most popular programs [LINUX ONLY]
Home Page: http://www.vim.org/scripts/script.php?script_id=3048
Intelligent Line Commenter for the most popular programs [LINUX ONLY]
Home Page: http://www.vim.org/scripts/script.php?script_id=3048
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.