runtime(doc): reword and reformat how to use defaults.vim
closes: #15663 closes: #15668 Signed-off-by: Max Coplan <mchcopl@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
59b089c9df
commit
fdd1819b5f
@ -1,4 +1,4 @@
|
||||
*starting.txt* For Vim version 9.1. Last change: 2024 Sep 05
|
||||
*starting.txt* For Vim version 9.1. Last change: 2024 Sep 15
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -1077,9 +1077,10 @@ This should work well for new Vim users. If you create your own .vimrc, it is
|
||||
recommended to add these lines somewhere near the top: >
|
||||
unlet! skip_defaults_vim
|
||||
source $VIMRUNTIME/defaults.vim
|
||||
Then Vim works like before you had a .vimrc. Copying $VIMRUNTIME/vimrc_example
|
||||
is way to do this. Alternatively, you can copy defaults.vim to your .vimrc
|
||||
and modify it (but then you won't get updates when it changes).
|
||||
Then Vim works like before you had a .vimrc.
|
||||
Copying $VIMRUNTIME/vimrc_example.vim to your .vimrc is another way to do
|
||||
this. Alternatively, you can copy defaults.vim to your .vimrc and modify it
|
||||
(but then you won't get updates when it changes).
|
||||
|
||||
If you don't like some of the defaults, you can still source defaults.vim and
|
||||
revert individual settings. See the defaults.vim file for hints on how to
|
||||
|
||||
Reference in New Issue
Block a user