]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(new-tutor): update examples from Neovim to Vim
authorRestorerZ <restorer@mail2k.ru>
Wed, 26 Feb 2025 18:00:48 +0000 (19:00 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 26 Feb 2025 18:00:48 +0000 (19:00 +0100)
closes: #16741

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/tutor/en/vim-01-beginner.tutor

index ebb946158c7c0a11bb7b6ba3f54419771392c4ae..3c4402aadadb147cd7a2f09a28adb905b446c670 100644 (file)
@@ -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
 default. To start using more features you have to create a "vimrc" file.
 
- 1. Start editing the "vimrc" file.
-    `:call mkdir(stdpath('config'),'p')`{vim}
-    `:exe 'edit' stdpath('config').'/init.vim'`{vim}
+ 1. Start editing the "vimrc" file.  This depends on your system:
+    for UNIX-like                  for Windows
+    `: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}
 
+  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}.