VIMTUTOR(1)

πŸ’… VIMTUTOR β€” ok so you wanna learn Vim, bestie

So this is vimtutor, section 1 of the General Commands Manual, and honestly? It's the glow-up your terminal life has been waiting for. Periodt.


✨ NAME ✨

vimtutor β€” the Vim tutor. That's it, that's the whole vibe. It teaches you Vim. Iconic behaviour, no notes.


πŸŽ€ SYNOPSIS πŸŽ€

vimtutor [-h | --help]
vimtutor [--list]

Like, three whole ways to call her. Pick your fighter. 🫢


🌸 DESCRIPTION 🌸

Okay so real talk: vimtutor starts the Vim tutor. Boom. That's the job.

It's genuinely for people who are like "what even is a Vim command" β€” your first-commands era, y'know? And the optional [ISO639] argument is the two or three letter name of a language, like "it" or "es". Cute little language codes. We love a multilingual queen. 🌈

And here's the part that matters (the safety part, because I know you were about to panic): vimtutor only opens temporary copies of the original tutor files. So there is literally no danger of overwriting the lessons. Go feral in there, bestie, you cannot break it. πŸ”₯

Also important, no cap: Vim is always started in Vi nocompatible mode. That's just how she rolls here.


πŸ’– OPTIONS πŸ’–

  • -l, --language ISO639 β€” sets the two or three letter language code. E.g. 'it', 'es', 'bar'. Defaults to the language of the locale if it's available, else to English. iykyk πŸ¦‹
  • -c, --chapter NUMBER β€” sets the chapter number. Defaults to chapter one, because we all start at the beginning, babes. ✨
  • -g, --gui β€” starts vimtutor in the GUI version of vim if it's available, otherwise falls back to console vim. She'll try her best, okay? πŸ’…
  • -h, --help β€” displays usage information. Your little "help me help you" moment. πŸ™ˆ
  • --list β€” displays chapters and languages. The full menu, the whole buffet, the entire aesthetic. πŸ‘‘

🧚 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

Look at that longform flex. She's got range. ⭐


πŸ“ FILES πŸ“

  • /usr/share/vim/vim92/tutor/tutor1[.language] β€” the Vimtutor chapter one text file(s). Chapter one lives here, periodt.
  • /usr/share/vim/vim92/tutor/tutor2[.language] β€” the Vimtutor chapter two text file(s). Chapter two, same deal. πŸŽ€
  • /usr/share/vim/vim92/tutor/tutor.vim β€” the Vim script used to copy the Vimtutor text file. The backstage crew making the magic happen. 🌟

πŸ’œ AUTHOR πŸ’œ

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.colorado.edu (now invalid β€” yeah, that address is giving 1996, rest in peace 😭).

Modified for Vim by Bram Moolenaar. Legend. Absolute main character energy. πŸ‘‘

Translation contributors are listed in the tutor files β€” go give them their flowers, they earned them. πŸ’


πŸ¦‹ SEE ALSO πŸ¦‹

  • vim(1) β€” the big one. The mothership. Go read her next.

A lil reminder before you close this tab: no danger of overwriting the lessons, nocompatible mode always, defaults are locale-language (else English) and chapter one. Write that on your hand, bestie. 🫢

mwah πŸ’‹ that's a wrap β€” page VIMTUTOR(1), dated 2024 December 03, sourced from the General Commands Manual. Go learn Vim, slay, and hydrate. 🌈