Use ctrl-enter also on mac

This commit is contained in:
John Björk 2026-02-05 16:30:25 +01:00
parent 9f2237e11d
commit b2cfd3dc3d
No known key found for this signature in database
GPG key ID: 303B6ADF2F569B0A

View file

@ -504,12 +504,17 @@ export class PrebakeCodeMirror {
Prec.highest( Prec.highest(
keymap.of([ keymap.of([
{ {
key: 'Ctrl-Enter',
mac: 'Meta-Enter', mac: 'Meta-Enter',
run: () => { run: () => {
this.savePrebake(); this.savePrebake();
}, },
}, },
{
key: 'Ctrl-Enter',
run: () => {
this.savePrebake();
},
},
{ {
key: 'Alt-Enter', key: 'Alt-Enter',
run: () => { run: () => {