foldKeymap top-level property
Default fold-related key bindings.
- Ctrl-Shift-[ (Cmd-Alt-[ on macOS): foldCode
- Ctrl-Shift-] (Cmd-Alt-] on macOS): unfoldCode
- Ctrl-Alt-[: foldAll
- Ctrl-Alt-]: unfoldAll
Implementation
final List<KeyBinding> foldKeymap = [
KeyBinding(key: 'Ctrl-Shift-[', mac: 'Cmd-Alt-[', run: _foldCodeCmd),
KeyBinding(key: 'Ctrl-Shift-]', mac: 'Cmd-Alt-]', run: _unfoldCodeCmd),
KeyBinding(key: 'Ctrl-Alt-[', run: _foldAllCmd),
KeyBinding(key: 'Ctrl-Alt-]', run: _unfoldAllCmd),
];