Agnus Dei (jackal) wrote,
Agnus Dei
jackal

How to disable auto commenting in vi / vim

The nextest version of vim has auto-commenting enabled by default. This is horrible and extremely annoying.

Here's how to fix/disable the auto-commenting in vi.

:set formatoptions=
or
:set formatoptions-=cr
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 1 comment