[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Automatic Block Comments
From:       Gabriel Birke <birke () kontor4 ! de>
Date:       2004-04-27 13:33:54
Message-ID: 873F956D-984F-11D8-862F-003065FA313E () kontor4 ! de
[Download RAW message or body]

Hello!

I write PHP files with block comments like this:
/**
  * Here comes my comment
  * comment line 2
  */

Is there a way to tell vim "When I press enter and the first 
non-whitespace char in the current line is a '*', then start a new line 
and insert a '* ' at the same indent level as the previous"?

Gabriel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic