On Monday, March 16, 2015 at 12:40:50 PM UTC-7, riesebie wrote: > * Graham Lawrence <[email protected]> [2015-03-16 11:06 -0700]: > > > Using Huge vim 7.4 with patch 1-473 on arch linux > > > > One of the last entries in my .vimrc is > > set textwidth=0 > > which is occasionally overridden by some feature in vim that arbitrarily > > sets the textwidth to 78. > > > > Most of the time this creates no problem, but when I happen to add text to > > a .vimrc mapping that exceeds 78 characters, arbitrary line breaks are > > introduced into it, which matters a great deal. > > > > Does anyone know what might do this? > > :help textwidth. grep your vimrc for tw. > > Elimar > -- > We all know Linux is great... it does infinite loops in 5 seconds. > -Linus Torvalds
My .vimrc only has my setting of textwidth to 0, but as you mentioned vimrc I have also set /etc/vimrc to tw=0 as well. We shall see what happens, unfortunately this change to my tw setting is a random (and relatively infrequent) event. Time will tell, I guess. However, I do not expect it to solve the problem, as my .vimrc will follow /etc/vimrc, and the real problem is that some part of vim arbitrarily changes this setting. Most of the time I can change and create long lines without incident, because tw is 0. But sometimes it is 78. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
