From vim Tue Apr 27 13:33:54 2004 From: Gabriel Birke Date: Tue, 27 Apr 2004 13:33:54 +0000 To: vim Subject: Automatic Block Comments Message-Id: <873F956D-984F-11D8-862F-003065FA313E () kontor4 ! de> X-MARC-Message: https://marc.info/?l=vim&m=108307287017947 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