Cheat Sheets

Vim

Created: 2020 August 6th

Updated: 2020 August 6th

Edit this page on GitHub

Exit Vim

Hit the Esc key to enter “Normal mode”. Then you can type : to enter “Command-line mode”. A colon : will appear at the bottom of the screen.

To quit:

1:q
2# enter

To quit without saving:

1:q!
2# enter