blob: 29b56cb97d9a5eb47eb4f77bfe39ff7d78aef5bb [file] [log] [blame]
Bram Moolenaar71badf92023-04-22 22:40:14 +01001VIMTUTOR(1) General Commands Manual VIMTUTOR(1)
Bram Moolenaar071d4272004-06-13 20:20:40 +00002
Bram Moolenaar071d4272004-06-13 20:20:40 +00003NAME
4 vimtutor - the Vim tutor
5
6SYNOPSIS
Paul Desmond Parker17c71da2024-11-03 20:47:53 +01007 vimtutor [-l | --language ISO639] [-c | --chapter NUMBER] [-g | --gui]
8 [ISO639]
9 vimtutor [-h | --help]
10 vimtutor [--list]
Bram Moolenaar071d4272004-06-13 20:20:40 +000011
12DESCRIPTION
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010013 Vimtutor starts the Vim tutor.
Bram Moolenaar071d4272004-06-13 20:20:40 +000014
Bram Moolenaar8299df92004-07-10 09:47:34 +000015 The Vimtutor is useful for people that want to learn their first Vim
Christian Brabandt5ccac752024-11-04 21:02:42 +010016 commands. The optional [language] argument is the two-letter name of a
17 language, like "it" or "es".
Bram Moolenaar071d4272004-06-13 20:20:40 +000018
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010019 Vimtutor only opens temporary copies of the original tutor files, there
20 is no danger of overwriting the lessons.
21
Bram Moolenaar071d4272004-06-13 20:20:40 +000022 Vim is always started in Vi compatible mode.
23
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010024OPTIONS
25 -l, --language=ISO639
Christian Brabandt5ccac752024-11-04 21:02:42 +010026 Set the two or three letter language code. E.g. 'it', 'es',
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010027 'bar'. Defaults to language of locale if available, else to Eng
28 lish.
29
30 -c, --chapter=NUMBER
Christian Brabandt5ccac752024-11-04 21:02:42 +010031 Set the chapter number. Defaults to chapter one.
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010032
33 -g, --gui
34 Start vimtutor in the GUI version of vim if available, otherwise
35 fallback to console vim.
36
37 -h, --help
38 Display usage information.
39
40 --list Display chapters and languages.
41
42EXAMPLES
43 To start vimtutor in German on chapter one:
44
45 vimtutor de
46
47 In English on chapter two:
48
49 vimtutor -c2
50
51 Longform command for Bavarian in the GUI on chapter one:
52
53 vimtutor --language bar --chapter 1 --gui
54
Bram Moolenaar071d4272004-06-13 20:20:40 +000055FILES
RestorerZ81b62dd2024-08-15 21:39:33 +020056 /usr/local/share/vim/vim??/tutor/tutor[.language]
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010057 The Vimtutor chapter one text file(s).
58
Christian Brabandt5ccac752024-11-04 21:02:42 +010059 /usr/local/share/vim/vim??/tutor/tutor2[.language]
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010060 The Vimtutor chapter two text file(s).
Bram Moolenaar071d4272004-06-13 20:20:40 +000061
RestorerZ81b62dd2024-08-15 21:39:33 +020062 /usr/local/share/vim/vim??/tutor/tutor.vim
Christian Brabandt5ccac752024-11-04 21:02:42 +010063 The Vim script used to copy the Vimtutor text file.
Bram Moolenaar071d4272004-06-13 20:20:40 +000064
65AUTHOR
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010066 The Vi Tutorial was originally written for Vi by Michael C. Pierce and
67 Robert K. Ware, Colorado School of Mines using ideas supplied by
68 Charles Smith, Colorado State University. E-mail: bware@mines.col
Christian Brabandt5ccac752024-11-04 21:02:42 +010069 orado.edu (now invalid).
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010070
71 Modified for Vim by Bram Moolenaar.
72
73 Translation contributors are listed in the tutor files.
Bram Moolenaar071d4272004-06-13 20:20:40 +000074
75SEE ALSO
76 vim(1)
77
Christian Brabandt5ccac752024-11-04 21:02:42 +010078 2024 November 04 VIMTUTOR(1)