// Klammertext key bindings. // // Binds "jump to matching klammer delimiter" (the companion Klammertext.py // command) to Ctrl+M — Sublime's own "go to matching bracket" key, repurposed // for klammers, since the built-in cannot match context-dependent @ pairs. // // Binds "reindent lines" (the companion Klammertext_indent.py command) to // Ctrl+Alt+I. Sublime's own Reindent (Edit > Line > Reindent, unbound by // default) is driven by single-line regex patterns that cannot express // Klammertext nesting, so reindentation is a plugin command here too. // // The "selector" contexts confine the bindings to Klammertext files, so both // keys keep their normal meaning everywhere else. // // macOS users may prefer "super+m"; change the "keys" value below. This file // (no platform suffix) is loaded on all platforms. [ { "keys": ["ctrl+m"], "command": "klammertext_jump_to_match", "context": [ { "key": "selector", "operator": "equal", "operand": "text.klammertext" } ] }, { "keys": ["ctrl+alt+i"], "command": "klammertext_reindent", "context": [ { "key": "selector", "operator": "equal", "operand": "text.klammertext" } ] } ]