Normal mode: the shortcut in 3 apps
On Mac it is usually Esc (3 of 4 apps); on Windows it is usually Esc (3 of 4 apps); on Linux it is usually Esc (3 of 4 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| JupyterLabEnter command mode · Edit mode | Esc | Esc | Esc |
| NeovimReturn to Normal mode · Insert or Visual mode | EscorCtrl[ | EscorCtrl[ | EscorCtrl[ |
| NeovimLeave Terminal mode · Terminal mode | Ctrl\,CtrlN | Ctrl\,CtrlN | Ctrl\,CtrlN |
| VimReturn to Normal mode · Insert or Visual mode | EscorCtrl[ | EscorCtrl[ | EscorCtrl[ |
How the apps compare
- Mac: Esc in JupyterLab, Neovim and Vim; Ctrl+\ Ctrl+N in Neovim.
- Windows: Esc in JupyterLab, Neovim and Vim; Ctrl+\ Ctrl+N in Neovim.
- Linux: Esc in JupyterLab, Neovim and Vim; Ctrl+\ Ctrl+N in Neovim.
Where and when it works
- JupyterLab (Edit mode).
- Neovim (Insert or Visual mode).
- Neovim (Terminal mode).
- Vim (Insert or Visual mode).
Learn it by pressing it: JupyterLab shortcuts practice, Neovim shortcuts practice or Vim shortcuts practice.