]> git.donarmstrong.com Git - qmk_firmware.git/blob - docs/feature_grave_esc.md
Modernize clueboard, add 66_ansi and 66_iso layouts (#2377)
[qmk_firmware.git] / docs / feature_grave_esc.md
1 # Grave Escape
2
3 Grave Escape is a feature that allows you to share the grave key (<code>&#96;</code> and `~`) on the same key as Escape. When `KC_GESC` is used it will act as `KC_ESC`, unless Shift or GUI is pressed, in which case it will act as `KC_GRAVE`.
4
5
6 |Key      |Aliases    |Description                                                       |
7 |---------|-----------|------------------------------------------------------------------|
8 |`KC_GESC`|`GRAVE_ESC`|Escape when pressed, <code>&#96;</code> when Shift or GUI are held|
9
10 There are several possible key combinations this will break, among them Ctrl+Shift+Esc on Windows and Cmd+Opt+Esc on macOS. You can use these options in your `config.h` to work around this:
11
12 | Option | Description |
13 |--------|-------------|
14 | `GRAVE_ESC_ALT_OVERRIDE` | Always send Escape if Alt is pressed. |
15 | `GRAVE_ESC_CTRL_OVERRIDE` | Always send Escape if Ctrl is pressed. |
16 | `GRAVE_ESC_GUI_OVERRIDE` | Always send Escape if GUI is pressed. |
17 | `GRAVE_ESC_SHIFT_OVERRIDE` | Always send Escape if SHIFT is pressed. |