runtime(new-tutor): update examples from Neovim to Vim Commit: https://github.com/vim/vim/commit/397700e50780325fbd2a4ce15225b983c018a93f Author: RestorerZ <resto...@mail2k.ru> Date: Wed Feb 26 19:00:48 2025 +0100
runtime(new-tutor): update examples from Neovim to Vim closes: https://github.com/vim/vim/issues/16741 Signed-off-by: RestorerZ <resto...@mail2k.ru> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/tutor/en/vim-01-beginner.tutor b/runtime/tutor/en/vim-01-beginner.tutor index ebb946158..3c4402aad 100644 --- a/runtime/tutor/en/vim-01-beginner.tutor +++ b/runtime/tutor/en/vim-01-beginner.tutor @@ -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}. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tnLw5-00Ee6g-Q9%40256bit.org.