runtime(new-tutor): update examples from Neovim to Vim
closes: #16741 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b2bd8de154
commit
397700e507
@ -906,13 +906,17 @@ You can find help on just about any subject, by giving an argument to the
|
|||||||
Vim has many more features than Vi, but most of them are disabled by
|
Vim has many more features than Vi, but most of them are disabled by
|
||||||
default. To start using more features you have to create a "vimrc" file.
|
default. To start using more features you have to create a "vimrc" file.
|
||||||
|
|
||||||
1. Start editing the "vimrc" file.
|
1. Start editing the "vimrc" file. This depends on your system:
|
||||||
`:call mkdir(stdpath('config'),'p')`{vim}
|
for UNIX-like for Windows
|
||||||
`:exe 'edit' stdpath('config').'/init.vim'`{vim}
|
`:e ~/.vimrc`{vim} `:e ~/_vimrc`{vim}
|
||||||
|
|
||||||
2. Write the file with:
|
2. Now read the example "vimrc" file contents:
|
||||||
|
`:r $VIMRUNTIME/vimrc_example.vim`{vim}
|
||||||
|
|
||||||
|
3. Write the file with:
|
||||||
`:w`{vim}
|
`:w`{vim}
|
||||||
|
|
||||||
|
The next time you start Vim it will use syntax highlighting.
|
||||||
You can add all your preferred settings to this "vimrc" file.
|
You can add all your preferred settings to this "vimrc" file.
|
||||||
For more information type `:help vimrc-intro`{vim}.
|
For more information type `:help vimrc-intro`{vim}.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user