aboutsummaryrefslogtreecommitdiff
path: root/runtime/tutor
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/tutor')
-rw-r--r--runtime/tutor/en/vim-01-beginner.tutor11
1 files changed, 4 insertions, 7 deletions
diff --git a/runtime/tutor/en/vim-01-beginner.tutor b/runtime/tutor/en/vim-01-beginner.tutor
index dce98d53a4..0d03103bca 100644
--- a/runtime/tutor/en/vim-01-beginner.tutor
+++ b/runtime/tutor/en/vim-01-beginner.tutor
@@ -906,16 +906,13 @@ 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
default. To start using more features you have to create a "vimrc" file.
- 1. Start editing the "vimrc" file. This depends on your system:
- `:e ~/.config/nvim/init.vim`{vim} for Unix-like systems
+ 1. Start editing the "vimrc" file.
+ `:call mkdir(stdpath('config'),'p')`{vim}
+ `:exe 'edit' stdpath('config').'/init.vim'`{vim}
- 2. Now read the example "vimrc" file contents:
- `:r $VIMRUNTIME/vimrc_example.vim`{vim}
-
- 3. Write the file with:
+ 2. Write the file with:
`:w`{vim}
- The next time you start Vim it will use syntax highlighting.
You can add all your preferred settings to this "vimrc" file.
For more information type `:help vimrc-intro`{vim}.