KeyMap
enum KeyMap
Defines the keys and modifiers to listen, based on OS-settings.
-
The keyboard modifier that is checked against to do text selection while moving the caret. Is
shift
on all OSs.Declaration
Swift
static let selectModifier: KeyboardModifier
-
The keyboard modifier that is checked against to do whole word moving. Is
option
on macOS andcontrol
otherwise.Declaration
Swift
static let wordMoveModifier: KeyboardModifier