pub fn default_keymap() -> Keymap<Shortcut>Available on crate feature
input only.Expand description
The default shortcut keys. Mod is Cmd on macOS and Ctrl elsewhere; words are deleted with Alt on macOS.
| Keys | Shortcut |
|---|---|
Mod+Z | Shortcut::Undo |
Mod+Shift+Z, Mod+Y | Shortcut::Redo |
Ctrl+Backspace | Shortcut::DeleteWordBackward |
Ctrl+Delete | Shortcut::DeleteWordForward |
Escape | Shortcut::EscapeUnfocus |