[tpm] reflowing comments in vim

Alejandro Imass ait at p2ee.org
Fri Dec 9 06:27:55 PST 2011

On Fri, Dec 9, 2011 at 12:38 AM, Liam R E Quin <liam at holoweb.net> wrote:
> On Thu, 2011-12-08 at 12:08 -0500, Olaf Alders wrote:
>> Hi Folks,
>> I'm a bit clueless when it comes to vim.  Given comments in code which look like this:
>> # blah
>> # blah blah blah blah
>> # blah

I use Emacs + c-perl-mode with Damian Conway's recommended settings
from the PBP book (though I use 4 space indents). Emacs modes are
pretty consistent so hitting Esc-x on any paragraph will reflow any
paragrah in any mode. If they are comments it will adjust the comment
character intelligently as well.

Alejandro Imass

More information about the toronto-pm mailing list