Mercurial > vim
comparison runtime/doc/starting.txt @ 13231:167a030448fa
Update runtime files.
commit https://github.com/vim/vim/commit/7254067ee970686cc3ff4a1effc3e49e9192a5c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 9 22:00:53 2018 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 09 Feb 2018 22:15:07 +0100 |
parents | 371ceeebbdaa |
children | acd7eaa13d2b |
comparison
equal
deleted
inserted
replaced
13230:0b201ae05cd3 | 13231:167a030448fa |
---|---|
1 *starting.txt* For Vim version 8.0. Last change: 2018 Jan 27 | 1 *starting.txt* For Vim version 8.0. Last change: 2018 Feb 09 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
1008 Vi compatible default value ~ | 1008 Vi compatible default value ~ |
1009 *compatible-default* | 1009 *compatible-default* |
1010 When Vim starts, the 'compatible' option is on. This will be used when Vim | 1010 When Vim starts, the 'compatible' option is on. This will be used when Vim |
1011 starts its initializations. But as soon as: | 1011 starts its initializations. But as soon as: |
1012 - a user vimrc file is found, or | 1012 - a user vimrc file is found, or |
1013 - a vimrc file in the current directory, or | 1013 - a vimrc file in the current directoryis found, or |
1014 - the "VIMINIT" environment variable is set, or | 1014 - the "VIMINIT" environment variable is set, or |
1015 - the "-N" command line argument is given, or | 1015 - the "-N" command line argument is given, or |
1016 - the "--clean" command line argument is given, or | 1016 - the "--clean" command line argument is given, or |
1017 even when no vimrc file exists. | |
1018 - the |defaults.vim| script is loaded, or | 1017 - the |defaults.vim| script is loaded, or |
1019 - gvimrc file was found, | 1018 - a gvimrc file was found, |
1020 then it will be set to 'nocompatible'. | 1019 then the option will be set to 'nocompatible'. |
1021 | 1020 |
1022 Note that this does NOT happen when a system-wide vimrc file was found. | 1021 Note that this does NOT happen when a system-wide vimrc file was found. |
1023 | 1022 |
1024 This has the side effect of setting or resetting other options (see | 1023 This has the side effect of setting or resetting other options (see |
1025 'compatible'). But only the options that have not been set or reset will be | 1024 'compatible'). But only the options that have not been set or reset will be |