fileTypes sublime-keymap name Sublime Text Key Map patterns include #multiLineComment include #lineComment begin (^\[$) contentName meta.keybinding.collection.sublimekeymap end (^\]$) patterns include #multiLineComment include #lineComment include #keys include #mainKeys include #supportKeys include #string include #numericPrimitives repository keys begin "(keys)": \[ beginCaptures 1 name keyword.other.sublimekeymap end \], patterns begin (") beginCaptures 1 name punctuation.keybinding.definition.key.sequence.start.sublimekeymap contentName meta.key.sequence.sublimekeymap end (?<!\\)(") endCaptures 1 name punctuation.keybinding.definition.key.sequence.end.sublime.sublimekeymap patterns match (?<!shift|ctrl|alt|super|\+)\+ name invalid.illegal.key.sequence.sublimekeymap captures 1 name support.function.modifier.key.sublimekeymap 2 name keyword.modifier.key.connector.sublimekeymap match (shift|ctrl|alt|super)(\+) match f(?:[2-9]\d+|\d{3,}) name invalid.illegal.key.sublimekeymap match \b(?:up|down|right|left|insert|home|end|pageup|pagedown|backspace|delete|tab|enter|pause|escape|space|keypad[0-9]|keypad_(?:period|divide|multiply|minus|plus|enter)|clear|sysreq|break|context_menu|browser_(?:back|forward|refresh|stop|search|favorites|home)|forward_slash|backquote|plus|equals|minus|f(20|1[0-9]|[1-9]))\b name entity.other.attribute-name.key.named.sublimekeymap match [A-Za-z0-9,;.:_=+-]{2,} name invalid.illegal.key.sublimekeymap captures 1 name entity.other.attribute-name.key.captured.sublimekeymap match <(character)> name keyword.control.other.sublimekeymap comment XXX What's invalid for key names? match .{1} name string.key.literal.sublimekeymap match [^\s,] name invalid.illegal.key.sequence.sublimekeymap lineComment match //.*?$ name comment.single.line.sublimekeymap mainKeys captures 1 name keyword.other.sublimekeymap match "(command|args|context|key)": multiLineComment begin /\* end \*/ name comment.single.line.sublimekeymap numericPrimitives patterns match \b(?:true|false)\b name constant.numeric.boolean.sublimekeymap match \d+(?:\.\d+)? name constant.numeric.sublimekeymap string begin " contentName string.double.quote.sublimekeymap end (?<!\\)" patterns include source.sublimesnippetraw supportKeys captures 1 name support.function.sublimekeymap match "([A-z]+?)": scopeName source.sublimekeymap uuid f56e1baa-51fc-4791-a9d9-21301f2e3a01