Bram Moolenaar | 71badf9 | 2023-04-22 22:40:14 +0100 | [diff] [blame] | 1 | VIMTUTOR(1) General Commands Manual VIMTUTOR(1) |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 2 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 3 | NAME |
| 4 | vimtutor - the Vim tutor |
| 5 | |
| 6 | SYNOPSIS |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 7 | vimtutor [-l | --language ISO639] [-c | --chapter NUMBER] [-g | --gui] |
| 8 | [ISO639] |
| 9 | vimtutor [-h | --help] |
| 10 | vimtutor [--list] |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 11 | |
| 12 | DESCRIPTION |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 13 | Vimtutor starts the Vim tutor. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 14 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 15 | The Vimtutor is useful for people that want to learn their first Vim |
| 16 | commands. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 17 | |
Bram Moolenaar | 446cb83 | 2008-06-24 21:56:24 +0000 | [diff] [blame] | 18 | The optional argument -g starts vimtutor with gvim rather than vim, if |
RestorerZ | 81b62dd | 2024-08-15 21:39:33 +0200 | [diff] [blame] | 19 | the GUI version of Vim is available, or falls back to vim if gvim is |
Bram Moolenaar | 446cb83 | 2008-06-24 21:56:24 +0000 | [diff] [blame] | 20 | not found. |
| 21 | |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 22 | 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 |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 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 |
Bram Moolenaar | 8299df9 | 2004-07-10 09:47:34 +0000 | [diff] [blame] | 26 | used. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 27 | |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 28 | Vimtutor only opens temporary copies of the original tutor files, there |
| 29 | is no danger of overwriting the lessons. |
| 30 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 31 | Vim is always started in Vi compatible mode. |
| 32 | |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 33 | OPTIONS |
| 34 | -l, --language=ISO639 |
| 35 | Set the two or three letter language code. E.g. 'it', 'es', |
| 36 | 'bar'. Defaults to language of locale if available, else to Eng‐ |
| 37 | lish. |
| 38 | |
| 39 | -c, --chapter=NUMBER |
| 40 | Set the one or two digit chapter number. Defaults to chapter |
| 41 | one. |
| 42 | |
| 43 | -g, --gui |
| 44 | Start vimtutor in the GUI version of vim if available, otherwise |
| 45 | fallback to console vim. |
| 46 | |
| 47 | -h, --help |
| 48 | Display usage information. |
| 49 | |
| 50 | --list Display chapters and languages. |
| 51 | |
| 52 | EXAMPLES |
| 53 | To start vimtutor in German on chapter one: |
| 54 | |
| 55 | vimtutor de |
| 56 | |
| 57 | In English on chapter two: |
| 58 | |
| 59 | vimtutor -c2 |
| 60 | |
| 61 | Longform command for Bavarian in the GUI on chapter one: |
| 62 | |
| 63 | vimtutor --language bar --chapter 1 --gui |
| 64 | |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 65 | FILES |
RestorerZ | 81b62dd | 2024-08-15 21:39:33 +0200 | [diff] [blame] | 66 | /usr/local/share/vim/vim??/tutor/tutor[.language] |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 67 | The Vimtutor chapter one text file(s). |
| 68 | |
| 69 | /usr/local/share/vim/vim??/tutor/tutor02[.language] |
| 70 | The Vimtutor chapter two text file(s). |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 71 | |
RestorerZ | 81b62dd | 2024-08-15 21:39:33 +0200 | [diff] [blame] | 72 | /usr/local/share/vim/vim??/tutor/tutor.vim |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 73 | The Vim script used to copy the Vimtutor chapter one |
| 74 | text file. |
| 75 | |
| 76 | /usr/local/share/vim/vim??/tutor/tutor02.vim |
| 77 | The Vim script used to copy the Vimtutor chapter two |
| 78 | text file. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 79 | |
| 80 | AUTHOR |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 81 | The Vi Tutorial was originally written for Vi by Michael C. Pierce and |
| 82 | Robert K. Ware, Colorado School of Mines using ideas supplied by |
| 83 | Charles Smith, Colorado State University. E-mail: bware@mines.col‐ |
| 84 | orado.edu. |
| 85 | |
| 86 | Modified for Vim by Bram Moolenaar. |
| 87 | |
| 88 | Translation contributors are listed in the tutor files. |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 89 | |
| 90 | SEE ALSO |
| 91 | vim(1) |
| 92 | |
Paul Desmond Parker | 17c71da | 2024-11-03 20:47:53 +0100 | [diff] [blame] | 93 | 2024 November 03 VIMTUTOR(1) |