On Tue, Nov 8, 2016 at 8:34 AM, Ken Takata <ktakata65...@gmail.com> wrote:
>
> Hi Karthick,
>
> 2016/11/7 Mon 22:24:03 UTC+9 Karthick wrote:
> > Hello all,
> >
> >
> > I just installed the 80-069 version of the MS-Windows Vim installer. I see 
> > the scrolloff option is being set to "5" due to defaults.vim getting 
> > sourced.
>
>         (snip)
>
> > In my case, $VIM/_vimrc file *is* present, still defaults.vim is getting 
> > sourced.
> >
> >
> > Maybe even more strangely, defaults.vim is getting sourced even if I do a,
> >
> > :let skip_defaults_vim=1
> > In the last line of my $VIM/_vimrc file
>
> Don't you source vimrc_example.vim from your _vimrc file?
> If so it might happen, because vimrc_example.vim sources defaults.vim.
> In that case, setting skip_defaults_vim in the last line has no meaning,
> because it is already sourced.

Thanks - that was the problem. I ran scriptnames as Bram suggested and
it showed _vimrc followed by vimrc_example.vim and then defaults.vim.

I moved from Vim 7.4 to Vim 8.0 and then soon to the 80-069 version. I
see now from documentation that defaults.vim was introduced in Vim
8.0, which explains why I didn't face this problem earlier.

Just to clarify, most of the defaults work fine for me, except the
value of scrolloff. I have reverted it back to zero in my vimrc now.

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to