Its a bit weird, I wanted to deactivate automatic backups in gVIM when saving, so I placed set nobackup in the top of the file _vimrc and it didn’t work. Then I placed that line below the following lines:
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
and it worked.
basically set nobackup doesn’t works like this:
set nobackup
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
and but works like this:
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set nobackup
Is this normal? Do VIM settings interfere with other settings?
means that vim runs the configuration in those files before loading the lines after. As “just somebody” said, in vimrc_example.vim, the backup is activated, so, in your first example, your first set the nobackup and then it’s unactivated by the .vim file.