Skip to content

Commit 397700e

Browse files
RestorerZchrisbra
authored andcommitted
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>
1 parent b2bd8de commit 397700e

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

runtime/tutor/en/vim-01-beginner.tutor

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -906,13 +906,17 @@ You can find help on just about any subject, by giving an argument to the
906906
Vim has many more features than Vi, but most of them are disabled by
907907
default. To start using more features you have to create a "vimrc" file.
908908

909-
1. Start editing the "vimrc" file.
910-
`:call mkdir(stdpath('config'),'p')`{vim}
911-
`:exe 'edit' stdpath('config').'/init.vim'`{vim}
909+
1. Start editing the "vimrc" file. This depends on your system:
910+
for UNIX-like for Windows
911+
`:e ~/.vimrc`{vim} `:e ~/_vimrc`{vim}
912912

913-
2. Write the file with:
913+
2. Now read the example "vimrc" file contents:
914+
`:r $VIMRUNTIME/vimrc_example.vim`{vim}
915+
916+
3. Write the file with:
914917
`:w`{vim}
915918

919+
The next time you start Vim it will use syntax highlighting.
916920
You can add all your preferred settings to this "vimrc" file.
917921
For more information type `:help vimrc-intro`{vim}.
918922

0 commit comments

Comments
 (0)