comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to comment out large section of codes in IDL?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to comment out large section of codes in IDL? [message #56046 is a reply to message #56045] Fri, 28 September 2007 10:06 Go to previous messageGo to previous message
Marshall Perrin is currently offline  Marshall Perrin
Messages: 44
Registered: December 2005
Member
Paul van Delst <Paul.vanDelst@noaa.gov> wrote:
> I googled "vim block comment" and got the following (among others):
>
> http://www.vim.org/scripts/script.php?script_id=473
> http://notfaq.wordpress.com/2006/07/28/vim-comment-blocks-of -code/
>
> The first details how to set up vim to do it, the second appears to indicate it's already
> possible with the right combo of keystrokes.

Sure is. Once you've selected the block of text you want to comment
out, just type :s/^/;/ and you're all set. Perfectly obvious, no? ;-)

- Marshall (loves vim's brevity, hates the learning curve)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: WINDOWS drag and drop into a draw widget
Next Topic: Re: Seasonal Variation in Trend Analysis

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:21:26 PDT 2025

Total time taken to generate the page: 1.04084 seconds