[Tutor] Commenting a big block of code
Andrei Kulakov
ak@silmarill.org
Wed, 19 Sep 2001 11:32:42 -0400
On Wed, Sep 19, 2001 at 08:18:42AM -0700, Sean 'Shaleh' Perry wrote:
>
> On 19-Sep-2001 Girish Gajwani wrote:
> > Hi All,
> >
> > I wish to comment out a big block of code. It is rather
> > painful to go and insert a "#" in front of each line of
> > code.
> >
> > Is there any "Block Comment" feature or perhaps someone
> > would just send me a VIM macro which I can use to select a
> > block of code in visual mode & then use some key mapped to
> > the macro & within a blink of an eye find all the lines
> > commented out.
> >
> > For now, I am just cutting out these lines & putting them in
> > a temporary area from where I retrieve them as necessary.
> >
>
> if you could grab the excellent O'reilly vi book you would learn all of this
> and more. learning your editor can make you marvelously more productive,
> regardless of the editor.
There is a vim book out, too by steve oualline, who also wrote "practical
c" book.
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
--
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org