From fdd1819b5facf83f8c4804accfc5de9ae5c11965 Mon Sep 17 00:00:00 2001 From: Max Coplan Date: Sun, 15 Sep 2024 19:40:52 +0200 Subject: [PATCH] runtime(doc): reword and reformat how to use defaults.vim closes: #15663 closes: #15668 Signed-off-by: Max Coplan Signed-off-by: Christian Brabandt --- runtime/doc/starting.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 02885e6c5a..84bf30f0cd 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -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