blob: c4cbeaa8851f6588b5251f6277dcce01166b9cf2 [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
RestorerZ6fa304f2024-12-02 20:19:52 +010016 commands. The optional [ISO639] argument is the two or three letter
17 name of a 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
Christian Brabandt23eea9b2024-12-03 21:23:43 +010025 -l, --language ISO639
26 Set the two or three letter language code. E.g. 'it', 'es',
27 'bar'. Defaults to language of locale if available, else to
RestorerZ6fa304f2024-12-02 20:19:52 +010028 English.
Paul Desmond Parker17c71da2024-11-03 20:47:53 +010029
Christian Brabandt23eea9b2024-12-03 21:23:43 +010030 -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
RestorerZ6fa304f2024-12-02 20:19:52 +010056 /usr/local/share/vim/vim??/tutor/tutor1[.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 Brabandt23eea9b2024-12-03 21:23:43 +010078 2024 December 03 VIMTUTOR(1)