On Wed, Jun 07, 2006 at 04:37:48PM +0800, Ken Perl wrote: > how to comment out or uncomment out a block for perl program file?
There is of course the generic way with visual-block-mode, see :help visual.txt Basically it involves using <C-v>, highlight what you want to comment and hit I#<Esc>. Highlight the # chars and use x to delete them when uncommenting. Other than that "The NERD Commenter"[1] looks pretty promising, haven't used it much yet though. [1] http://www.vim.org/scripts/script.php?script_id=1218 -- with kind regards Thor Andreassen
