vimrc and vim configuration files

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

Within vim, type :scriptnames
to have a list of configuration files read by vim on start up.

When a setting does not take effect, you may check whether it was overriden by another configuration file.
For example, to check when the setting textwidth was last set, do:

:verbose set textwidth?

which may reply:
  textwidth=78
        Last set from /etc/vim/vimrc
Press ENTER or type command to continue