Mercurial > vim
changeset 36147:c1367357cedd
runtime(doc): reword and reformat how to use defaults.vim
Commit: https://github.com/vim/vim/commit/fdd1819b5facf83f8c4804accfc5de9ae5c11965
Author: Max Coplan <mchcopl@gmail.com>
Date: Sun Sep 15 19:40:52 2024 +0200
runtime(doc): reword and reformat how to use defaults.vim
closes: https://github.com/vim/vim/issues/15663
closes: https://github.com/vim/vim/issues/15668
Signed-off-by: Max Coplan <mchcopl@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Sep 2024 20:00:05 +0200 |
parents | e2b51d7b603c |
children | 15e88eae39bd |
files | runtime/doc/starting.txt |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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. 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