mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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:
committed by
Christian Brabandt
parent
a54816b884
commit
17c71daf83
@ -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
|
||||
|
Reference in New Issue
Block a user