blob: f1e113e2b50ecc453c6dcbefe98722cf69e06920 [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
3
4
Bram Moolenaar071d4272004-06-13 20:20:40 +00005NAME
6 vimtutor - the Vim tutor
7
8SYNOPSIS
Bram Moolenaar446cb832008-06-24 21:56:24 +00009 vimtutor [-g] [language]
Bram Moolenaar071d4272004-06-13 20:20:40 +000010
11DESCRIPTION
Bram Moolenaar8299df92004-07-10 09:47:34 +000012 Vimtutor starts the Vim tutor. It copies the tutor file first, so that
13 it can be modified without changing the original file.
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
16 commands.
Bram Moolenaar071d4272004-06-13 20:20:40 +000017
Bram Moolenaar446cb832008-06-24 21:56:24 +000018 The optional argument -g starts vimtutor with gvim rather than vim, if
RestorerZ81b62dd2024-08-15 21:39:33 +020019 the GUI version of Vim is available, or falls back to vim if gvim is
Bram Moolenaar446cb832008-06-24 21:56:24 +000020 not found.
21
Bram Moolenaar8299df92004-07-10 09:47:34 +000022 The optional [language] argument is the two-letter name of a language,
23 like "it" or "es". If the [language] argument is missing, the language
24 of the current locale will be used. If a tutor in this language is
25 available, it will be used. Otherwise the English version will be
26 used.
Bram Moolenaar071d4272004-06-13 20:20:40 +000027
28 Vim is always started in Vi compatible mode.
29
30FILES
RestorerZ81b62dd2024-08-15 21:39:33 +020031 /usr/local/share/vim/vim??/tutor/tutor[.language]
Bram Moolenaar071d4272004-06-13 20:20:40 +000032 The Vimtutor text file(s).
RestorerZ81b62dd2024-08-15 21:39:33 +020033 vim?? is short version number, like vim91 for Vim 9.1
Bram Moolenaar071d4272004-06-13 20:20:40 +000034
RestorerZ81b62dd2024-08-15 21:39:33 +020035 /usr/local/share/vim/vim??/tutor/tutor.vim
Bram Moolenaar8299df92004-07-10 09:47:34 +000036 The Vim script used to copy the Vimtutor text file.
Bram Moolenaar071d4272004-06-13 20:20:40 +000037
38AUTHOR
Bram Moolenaar8299df92004-07-10 09:47:34 +000039 The Vimtutor was originally written for Vi by Michael C. Pierce and
40 Robert K. Ware, Colorado School of Mines using ideas supplied by
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +010041 Charles Smith, Colorado State University. E-mail: bware@mines.col
Bram Moolenaar71badf92023-04-22 22:40:14 +010042 orado.edu (now invalid).
Bram Moolenaar8f3f58f2010-01-06 20:52:26 +010043 It was modified for Vim by Bram Moolenaar. For the names of the trans
Bram Moolenaar8299df92004-07-10 09:47:34 +000044 lators see the tutor files.
Bram Moolenaar071d4272004-06-13 20:20:40 +000045
46SEE ALSO
47 vim(1)
48
49
50
RestorerZ81b62dd2024-08-15 21:39:33 +020051 2024 August 12 VIMTUTOR(1)