Wednesday, March 25, 2015

Re: What sets textwidth=78

On Wed, Mar 25, 2015 at 11:00:08AM +0200, Gevisz wrote:
> On Mon, 23 Mar 2015 21:43:04 +0100 Christian Brabandt <cblists@256bit.org> wrote:

> > On Mo, 23 Mär 2015, Gevisz wrote:
> >
> > > I also quite irritated by this persistent change from tw=0 to tw=78 sometimes.
> >
> > Create an autocommand:
> >
> > au FileType vim :set tw=0
> >
> > Alternatively, use a after ftplugin like this:
> > http://vimhelp.appspot.com/vim_faq.txt.html#faq-26.6
> >
> > Best,
> > Christian

> Thank you, Chistian. Your tips are always useful.

> But so far, I have already found the place where tw was set to 78 in my case (and deleted it :).

> Hopefully, it will be enough to get rid of this situation in the future.

> If not, I will try your suggestion.

the next update to the vim.vim in the runtime ftplugin folder will wipe
out any changes you make to that module, which is why we are
recommending creating an after directory to hold your override -- it is
bad practice to change anything in the runtime directory

no update from Bram will ever touch anything in your
~/.vim/after/ftplugin directory


--
--
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: