Shortcut
Vim Leave Insert Mode Shortcut
The Vim shortcut to leave insert mode is Esc on Windows. It's the same on Mac.
Quick Answer
- Windows
- Esc
- Mac
- Esc
- Web
- Not confirmed yet
VimShortcut
Leave Insert Mode
Goes back to Normal mode.
How to leave insert mode in Vim
- Open Vim and go to where you want to leave insert mode.
- Press Esc on Windows or Esc on Mac.
Vim Leave Insert Mode Shortcut for Windows
Press Esc.
Vim Leave Insert Mode Shortcut for Mac
Press Esc.
Vim Leave Insert Mode Shortcut for Vim Web
We haven't confirmed a Vim Web shortcut for this yet.
Related Keyboard Shortcuts
Frequently asked questions
What is the Vim leave insert mode shortcut?
On Windows, press Esc. On a Mac, press Esc.
Is there a Mac shortcut to leave insert mode in Vim?
Yes: Esc.
Does it work in Vim for the web?
We haven't confirmed a web version shortcut for this yet.
Official source · How we verify