Command | Description |
---|---|
<Esc> | Leaves insert mode, triggers autocommands and abbreviations |
<C-[> | Exact synonymous of <Esc> |
<C-c> | Leaves insert mode, doesn't trigger autocommands |
Some people like to use a relatively uncommon pair of characters like jk
as shortcut for <Esc>
or <C-[>
which can be hard to reach on some keyboards:
inoremap jk <Esc>l