VimDojo
Lessons
Challenges
Editor Demo
Login
Get Started
← Back to Lessons
Survival Mode
Getting In and Out
You need to open files, save work, and exit Vim without panicking.
Commands in this lesson
:q
quit
:q!
quit force
:w
write
:wq
write and quit
ZZ
save and quit
Test 1 of 3
Exit without saving
Goal: Quit Vim without saving.
Editor
0 keys
1
H
ello world
2
-- NORMAL --
buffer
Goal
:q!
1
Hello world
2
-- NORMAL --
buffer
Show Solution
Reset
← Previous Test
Next Test →