On Mon, Jan 4, 2016 at 12:37 AM, tot-to <[email protected]> wrote:
[…]
> :scriptnames gives the following list if started with no options:
>
>   1: /etc/vim/vimrc
>   2: /usr/share/vim/vim74/syntax/syntax.vim
>   3: /usr/share/vim/vim74/syntax/synload.vim
>   4: /usr/share/vim/vim74/syntax/syncolor.vim
>   5: /usr/share/vim/vim74/filetype.vim
>   6: /usr/share/vim/vimfiles/ftdetect/cmake.vim
>   7: /usr/share/vim/vimfiles/ftdetect/gentoo.vim
>   8: /usr/share/vim/vim74/ftplugin.vim
>   9: ~/.vimrc
>  10: /usr/share/vim/vimfiles/plugin/bugsummary.vim
>  11: /usr/share/vim/vimfiles/plugin/gentoo-common.vim
>  12: /usr/share/vim/vimfiles/plugin/newebuild.vim
>  13: /usr/share/vim/vimfiles/plugin/newinitd.vim
>  14: /usr/share/vim/vimfiles/plugin/newmetadata.vim
>  15: /usr/share/vim/vim74/plugin/getscriptPlugin.vim
>  16: /usr/share/vim/vim74/plugin/gzip.vim
>  17: /usr/share/vim/vim74/plugin/logiPat.vim
>  18: /usr/share/vim/vim74/plugin/matchparen.vim
>  19: /usr/share/vim/vim74/plugin/netrwPlugin.vim
>  20: /usr/share/vim/vim74/plugin/rrhelper.vim
>  21: /usr/share/vim/vim74/plugin/spellfile.vim
>  22: /usr/share/vim/vim74/plugin/tarPlugin.vim
>  23: /usr/share/vim/vim74/plugin/tohtml.vim
>  24: /usr/share/vim/vim74/plugin/vimballPlugin.vim
>  25: /usr/share/vim/vim74/plugin/zipPlugin.vim
>  26: /usr/share/vim/vim74/scripts.vim
>  27: /usr/share/vim/vim74/ftplugin/text.vim

The very first one is the culprit system vimrc, as expected.

All those files whose path starts /usr/share/vim/vimfiles/ are Gentoo
additions (except any, of course, that you might have put there
yourself). You might want to have a sharp look at what they do.
>
> If started with "-u NONE -N" it gives nothing.
[…]

This is expected. -u NONE disables both the vimrc and the plugins, and
-N sets 'nocompatible' which, in and of itself, doesn't source
anything.


Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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_dev" 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.

Raspunde prin e-mail lui