Sunday, June 28, 2015

Re: Auto-commenting

Hi Meino.Cramer!

On So, 28 Jun 2015, Meino.Cramer@gmx.de wrote:

> I looked into my .vimrc and found
>
> set formatoptions-=o
>
> so, no "r" ist set. I dont want to switch of this feature completly.
> My search was for a short and handy/elegant way to get into
> the first code line from the last comment line.

This could be set by the ftplugin. The best way to check from where this
comes, is in the buffer that has this behaviour issuing:
:verbose set fo?

For me this echoes:
formatoptions=crqol
Zuletzt gesetzt von ~/local/share/vim/vim74/ftplugin/perl.vim

Best,
Christian

--
Was sagt ein Mercedes-Fahrer, wenn sein Auto auf dem Dach liegt?
A: Aaaaaa - Klasse.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: