vimdojo
beginner+20 XP

Open a file, quit safely

Vim opens in NORMAL mode — keys are commands, not text. To leave Vim you type a command-line command starting with :.

There are several exits: :q quits, :q! quits and throws away changes, :wq saves and quits, and ZZ is the keyboard shortcut for save-and-quit.

TASK › Quit Vim — type :q and press Enter.
Hints — use sparingly
−5 XP per hint
← Back to curriculumCreate free account →
~/vimdojo/welcome.md
MD · UTF-8 · LF
1
2
3
4
# Welcome to VimDojo
You opened this file. Nothing is broken.
Now leave the way a Vim user leaves: type :q and press Enter.
NORMAL
main
md
Ln 1, Col 1
-- NORMAL --
to check
Click the editor, then type. Quick keys:4 lines · md