From f1bc152fa081f5d630ea1a027aa5bd00bdbb78f0 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 22 May 2018 22:45:57 +0200 Subject: doc: remove mentions of vimrc_example closes #8426 --- runtime/tutor/en/vim-01-beginner.tutor | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'runtime/tutor') 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}. -- cgit