runtime(vimtutor): Add a second chapter

fixes: #5719
closes: #5729

Signed-off-by: Paul Desmond Parker <pauldesmondparker@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Paul Desmond Parker
2024-11-03 20:47:53 +01:00
committed by Christian Brabandt
parent a54816b884
commit 17c71daf83
10 changed files with 687 additions and 59 deletions

View File

@ -1,7 +1,7 @@
:: Start Vim on a copy of the tutor file.
@echo off
:: Usage: vimtutor [-console] [xx]
:: Usage: vimtutor [-chapter 2] [-console] [xx]
::
:: -console means gvim will not be used
:: xx is a language code like "es" or "nl".
@ -25,6 +25,11 @@ GOTO end
:dir_ok
IF .%1==.-chapter (
SET CHAPTER=%2
SHIFT
SHIFT
)
SET xx=%1
IF NOT .%1==.-console GOTO use_gui