show Ctrl-Pause hotkey in keymap info using a dummy command
This commit is contained in:
parent
8decffc6b5
commit
306b21b75e
|
@ -29,7 +29,10 @@
|
||||||
// independent of current keyMap
|
// independent of current keyMap
|
||||||
'Alt-Enter': 'toggleStyle',
|
'Alt-Enter': 'toggleStyle',
|
||||||
'Alt-PageDown': 'nextEditor',
|
'Alt-PageDown': 'nextEditor',
|
||||||
'Alt-PageUp': 'prevEditor'
|
'Alt-PageUp': 'prevEditor',
|
||||||
|
// show the hotkey in keymap info popup by adding a dummy command
|
||||||
|
// TODO: implement as a normal command when CodeMirror is fixed
|
||||||
|
'Ctrl-Pause': 'toggleEditorFocus',
|
||||||
}),
|
}),
|
||||||
maxHighlightLength: 100e3,
|
maxHighlightLength: 100e3,
|
||||||
configureMouse: (cm, repeat) => repeat === 'double' ? {unit: selectTokenOnDoubleclick} : {},
|
configureMouse: (cm, repeat) => repeat === 'double' ? {unit: selectTokenOnDoubleclick} : {},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user