How do you convince vim to not continue comments?

By default, if you type "// <Enter>" vim inserts "// " on the next
line. Similarly, if you type "/*<Enter>" vim inserts " * " on the next
line. I want to turn this off. I am now on a computer where I *did*
turn this off but I am completely unable to remember or to figure out
how I did it. What I do now is that on this computer I have (when
editing .java):
  comments=s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-
I mention this because yesterday I was on a computer where I partially
"fixed" the issue by changing the middle part to a space, and I think
that's a hack to be avoided.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to