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 #56044 is a reply to message #56043] Fri, 28 September 2007 10:29 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Marshall Perrin wrote:
> 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? ;-)

I wonder how that compares with EMACS ( outside IDLWAVE
mode) "CTRL-x r t ; RETURN" after selection... ;-)

Ciao,
Paolo

>
> - 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: Sat Oct 11 05:29:50 PDT 2025

Total time taken to generate the page: 1.19926 seconds