2023-04-22 22:40:14 +01:00
|
|
|
|
VIMTUTOR(1) General Commands Manual VIMTUTOR(1)
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
|
vimtutor - the Vim tutor
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
2024-11-03 20:47:53 +01:00
|
|
|
|
vimtutor [-l | --language ISO639] [-c | --chapter NUMBER] [-g | --gui]
|
|
|
|
|
[ISO639]
|
|
|
|
|
vimtutor [-h | --help]
|
|
|
|
|
vimtutor [--list]
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
2024-11-03 20:47:53 +01:00
|
|
|
|
Vimtutor starts the Vim tutor.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2004-07-10 09:47:34 +00:00
|
|
|
|
The Vimtutor is useful for people that want to learn their first Vim
|
|
|
|
|
commands.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2008-06-24 21:56:24 +00:00
|
|
|
|
The optional argument -g starts vimtutor with gvim rather than vim, if
|
2024-08-15 21:39:33 +02:00
|
|
|
|
the GUI version of Vim is available, or falls back to vim if gvim is
|
2008-06-24 21:56:24 +00:00
|
|
|
|
not found.
|
|
|
|
|
|
2004-07-10 09:47:34 +00:00
|
|
|
|
The optional [language] argument is the two-letter name of a language,
|
|
|
|
|
like "it" or "es". If the [language] argument is missing, the language
|
2024-11-03 20:47:53 +01:00
|
|
|
|
of the current locale will be used. If a tutor in this language is
|
|
|
|
|
available, it will be used. Otherwise the English version will be
|
2004-07-10 09:47:34 +00:00
|
|
|
|
used.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2024-11-03 20:47:53 +01:00
|
|
|
|
Vimtutor only opens temporary copies of the original tutor files, there
|
|
|
|
|
is no danger of overwriting the lessons.
|
|
|
|
|
|
2004-06-13 20:20:40 +00:00
|
|
|
|
Vim is always started in Vi compatible mode.
|
|
|
|
|
|
2024-11-03 20:47:53 +01:00
|
|
|
|
OPTIONS
|
|
|
|
|
-l, --language=ISO639
|
|
|
|
|
Set the two or three letter language code. E.g. 'it', 'es',
|
|
|
|
|
'bar'. Defaults to language of locale if available, else to Eng‐
|
|
|
|
|
lish.
|
|
|
|
|
|
|
|
|
|
-c, --chapter=NUMBER
|
|
|
|
|
Set the one or two digit chapter number. Defaults to chapter
|
|
|
|
|
one.
|
|
|
|
|
|
|
|
|
|
-g, --gui
|
|
|
|
|
Start vimtutor in the GUI version of vim if available, otherwise
|
|
|
|
|
fallback to console vim.
|
|
|
|
|
|
|
|
|
|
-h, --help
|
|
|
|
|
Display usage information.
|
|
|
|
|
|
|
|
|
|
--list Display chapters and languages.
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
|
To start vimtutor in German on chapter one:
|
|
|
|
|
|
|
|
|
|
vimtutor de
|
|
|
|
|
|
|
|
|
|
In English on chapter two:
|
|
|
|
|
|
|
|
|
|
vimtutor -c2
|
|
|
|
|
|
|
|
|
|
Longform command for Bavarian in the GUI on chapter one:
|
|
|
|
|
|
|
|
|
|
vimtutor --language bar --chapter 1 --gui
|
|
|
|
|
|
2004-06-13 20:20:40 +00:00
|
|
|
|
FILES
|
2024-08-15 21:39:33 +02:00
|
|
|
|
/usr/local/share/vim/vim??/tutor/tutor[.language]
|
2024-11-03 20:47:53 +01:00
|
|
|
|
The Vimtutor chapter one text file(s).
|
|
|
|
|
|
|
|
|
|
/usr/local/share/vim/vim??/tutor/tutor02[.language]
|
|
|
|
|
The Vimtutor chapter two text file(s).
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2024-08-15 21:39:33 +02:00
|
|
|
|
/usr/local/share/vim/vim??/tutor/tutor.vim
|
2024-11-03 20:47:53 +01:00
|
|
|
|
The Vim script used to copy the Vimtutor chapter one
|
|
|
|
|
text file.
|
|
|
|
|
|
|
|
|
|
/usr/local/share/vim/vim??/tutor/tutor02.vim
|
|
|
|
|
The Vim script used to copy the Vimtutor chapter two
|
|
|
|
|
text file.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
|
|
AUTHOR
|
2024-11-03 20:47:53 +01:00
|
|
|
|
The Vi Tutorial was originally written for Vi by Michael C. Pierce and
|
|
|
|
|
Robert K. Ware, Colorado School of Mines using ideas supplied by
|
|
|
|
|
Charles Smith, Colorado State University. E-mail: bware@mines.col‐
|
|
|
|
|
orado.edu.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2024-11-03 20:47:53 +01:00
|
|
|
|
Modified for Vim by Bram Moolenaar.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2024-11-03 20:47:53 +01:00
|
|
|
|
Translation contributors are listed in the tutor files.
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2024-11-03 20:47:53 +01:00
|
|
|
|
SEE ALSO
|
|
|
|
|
vim(1)
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
2024-11-03 20:47:53 +01:00
|
|
|
|
2024 November 03 VIMTUTOR(1)
|