← 返回命令列表

Linux command

vimtutor 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start vim tutor

vimtutor

Start in a specific language

vimtutor [de]

Start chapter 2

vimtutor -c 2

Launch the tutorial in the GUI version

vimtutor -g

List all supported languages

vimtutor --list

说明

vimtutor teaches vim basics through hands-on lessons. It creates a copy of the tutorial file and opens it in vim for practice. The tutorial covers essential operations in approximately 30 minutes. Each lesson introduces commands with immediate practice exercises. Topics include navigation, editing, deletion, undo, copy/paste, search, and file operations. These form the foundation for productive vim use. The working copy ensures mistakes don't affect the original. Users can restart with a fresh copy anytime. Available languages include English, German, French, Spanish, Chinese, and many others. The tutorial adapts to system locale. Completing vimtutor provides enough knowledge for basic editing. Advanced features require additional learning.

参数

-l, --language _CODE_
Select the tutorial language explicitly. Glued form -l_code_ / --language_code_ also accepted.
-c, --chapter _N_
Load chapter _N_ (1 or 2). Chapter 2 is only shipped in en and fr.
-g, --gui
Start the GUI version of Vim (gvim) instead of the terminal binary.
--list
List available language codes and exit.
-h, --help
Display help.

FAQ

What is the vimtutor command used for?

vimtutor teaches vim basics through hands-on lessons. It creates a copy of the tutorial file and opens it in vim for practice. The tutorial covers essential operations in approximately 30 minutes. Each lesson introduces commands with immediate practice exercises. Topics include navigation, editing, deletion, undo, copy/paste, search, and file operations. These form the foundation for productive vim use. The working copy ensures mistakes don't affect the original. Users can restart with a fresh copy anytime. Available languages include English, German, French, Spanish, Chinese, and many others. The tutorial adapts to system locale. Completing vimtutor provides enough knowledge for basic editing. Advanced features require additional learning.

How do I run a basic vimtutor example?

Run `vimtutor` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l, --language _CODE_ do in vimtutor?

Select the tutorial language explicitly. Glued form -l_code_ / --language_code_ also accepted.