* Andreas Bakurov [2007.03.22 09:00]: > I trying to find a way to quickly remove and add one line comments (// > or /* */) to Java or C/C++ code. > What is a effective "combo" to achieve this.
You could do this manually with mappings and such, but I find there are so many special cases (especially with the C-style /* */ type of comments) that I prefer using a plugin in which most of the dirty work can be hidden away. Here is one: EnhancedCommentify http://www.vim.org/scripts/script.php?script_id=23 -- JR