try this mapping
:map
You can map Alt+C or Ctrl+T something which is faster than F2
This mapping will comment and uncomment the C-style comment. I have tried this on Ubuntu and VIM 7.1 and works fine for me
Note: The map command may not work on copying as the VIM may not recognize the Ctrl - M character. You have to Ctrl- V and then Enter to make it work
Perl is the best scripting language for Text processing and handle regex. I have posted few articles related to those at my blog
ReplyDeletehttp://icfun.blogspot.com/search/label/perl
Also Perl's Cpan has lots of support that I don't even need to think extra while developing project. I didn't find such help on other programming language except Java and .NET