vim Exiting Vim

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

ParameterDetails
:Enter command-line mode
wWrite
qQuit
aAll
!Override

Remarks

Command-line mode is entered through normal mode. You will know you are in command-line mode when there is a : in the bottom left corner of your terminal window.

Normal mode is the default mode of vi/vim and can be switched to by pressing the ESC.

Vi/Vim have built-in checks to prevent unsaved work from being lost and other useful features. To bypass these checks, use the override ! in your command.

In Vi/Vim it is possible to have more than one file displayed (in different windows) at the same time. Use a to close all the opened windows.



Got any vim Question?