|
354 | 354 | // Headings
|
355 | 355 | //
|
356 | 356 |
|
357 |
| - { "keys": ["alt+k", "alt+keypad0"], "command": "mde_change_headings_level", "args": {"to": 0}, "context": |
358 |
| - [ |
359 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
360 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
361 |
| - ] |
362 |
| - }, |
363 |
| - { "keys": ["alt+k", "alt+0"], "command": "mde_change_headings_level", "args": {"to": 0}, "context": |
364 |
| - [ |
365 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
366 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
367 |
| - ] |
368 |
| - }, |
369 |
| - { "keys": ["alt+k", "alt+keypad1"], "command": "mde_change_headings_level", "args": {"to": 1}, "context": |
370 |
| - [ |
371 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
372 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
373 |
| - ] |
374 |
| - }, |
375 |
| - { "keys": ["alt+k", "alt+1"], "command": "mde_change_headings_level", "args": {"to": 1}, "context": |
376 |
| - [ |
377 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
378 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
379 |
| - ] |
380 |
| - }, |
381 |
| - { "keys": ["alt+k", "alt+keypad2"], "command": "mde_change_headings_level", "args": {"to": 2}, "context": |
382 |
| - [ |
383 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
384 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
385 |
| - ] |
386 |
| - }, |
387 |
| - { "keys": ["alt+k", "alt+2"], "command": "mde_change_headings_level", "args": {"to": 2}, "context": |
388 |
| - [ |
389 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
390 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
391 |
| - ] |
392 |
| - }, |
393 |
| - { "keys": ["alt+k", "alt+keypad3"], "command": "mde_change_headings_level", "args": {"to": 3}, "context": |
394 |
| - [ |
395 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
396 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
397 |
| - ] |
398 |
| - }, |
399 |
| - { "keys": ["alt+k", "alt+3"], "command": "mde_change_headings_level", "args": {"to": 3}, "context": |
400 |
| - [ |
401 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
402 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
403 |
| - ] |
404 |
| - }, |
405 |
| - { "keys": ["alt+k", "alt+keypad4"], "command": "mde_change_headings_level", "args": {"to": 4}, "context": |
406 |
| - [ |
407 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
408 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
409 |
| - ] |
410 |
| - }, |
411 |
| - { "keys": ["alt+k", "alt+4"], "command": "mde_change_headings_level", "args": {"to": 4}, "context": |
412 |
| - [ |
413 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
414 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
415 |
| - ] |
416 |
| - }, |
417 |
| - { "keys": ["alt+k", "alt+keypad5"], "command": "mde_change_headings_level", "args": {"to": 5}, "context": |
418 |
| - [ |
419 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
420 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
421 |
| - ] |
422 |
| - }, |
423 |
| - { "keys": ["alt+k", "alt+5"], "command": "mde_change_headings_level", "args": {"to": 5}, "context": |
424 |
| - [ |
425 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
426 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
427 |
| - ] |
428 |
| - }, |
429 |
| - { "keys": ["alt+k", "alt+keypad6"], "command": "mde_change_headings_level", "args": {"to": 6}, "context": |
430 |
| - [ |
431 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
432 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
433 |
| - ] |
434 |
| - }, |
435 |
| - { "keys": ["alt+k", "alt+6"], "command": "mde_change_headings_level", "args": {"to": 6}, "context": |
436 |
| - [ |
437 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
438 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
439 |
| - ] |
440 |
| - }, |
441 |
| - { "keys": ["shift+alt+."], "command": "mde_change_headings_level", "args": {"by": 1}, "context": |
442 |
| - [ |
443 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
444 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
445 |
| - ] |
446 |
| - }, |
447 |
| - { "keys": ["shift+alt+,"], "command": "mde_change_headings_level", "args": {"by": -1}, "context": |
448 |
| - [ |
449 |
| - { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
450 |
| - { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
451 |
| - ] |
452 |
| - }, |
453 | 357 | // If nothing is selected, pressing hash in front of heading label increases level by one
|
454 | 358 | { "keys": ["#"], "command": "mde_change_headings_level", "args": {"by": 1}, "context":
|
455 | 359 | [
|
|
569 | 473 | { "key": "auto_complete_visible", "operator": "equal", "operand": false, "match_all": true }
|
570 | 474 | ]
|
571 | 475 | },
|
| 476 | + { "keys": ["alt+k", "alt+keypad0"], "command": "mde_change_headings_level", "args": {"to": 0}, "context": |
| 477 | + [ |
| 478 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 479 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 480 | + ] |
| 481 | + }, |
| 482 | + { "keys": ["alt+k", "alt+0"], "command": "mde_change_headings_level", "args": {"to": 0}, "context": |
| 483 | + [ |
| 484 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 485 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 486 | + ] |
| 487 | + }, |
| 488 | + { "keys": ["alt+k", "alt+keypad1"], "command": "mde_change_headings_level", "args": {"to": 1}, "context": |
| 489 | + [ |
| 490 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 491 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 492 | + ] |
| 493 | + }, |
| 494 | + { "keys": ["alt+k", "alt+1"], "command": "mde_change_headings_level", "args": {"to": 1}, "context": |
| 495 | + [ |
| 496 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 497 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 498 | + ] |
| 499 | + }, |
| 500 | + { "keys": ["alt+k", "alt+keypad2"], "command": "mde_change_headings_level", "args": {"to": 2}, "context": |
| 501 | + [ |
| 502 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 503 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 504 | + ] |
| 505 | + }, |
| 506 | + { "keys": ["alt+k", "alt+2"], "command": "mde_change_headings_level", "args": {"to": 2}, "context": |
| 507 | + [ |
| 508 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 509 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 510 | + ] |
| 511 | + }, |
| 512 | + { "keys": ["alt+k", "alt+keypad3"], "command": "mde_change_headings_level", "args": {"to": 3}, "context": |
| 513 | + [ |
| 514 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 515 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 516 | + ] |
| 517 | + }, |
| 518 | + { "keys": ["alt+k", "alt+3"], "command": "mde_change_headings_level", "args": {"to": 3}, "context": |
| 519 | + [ |
| 520 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 521 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 522 | + ] |
| 523 | + }, |
| 524 | + { "keys": ["alt+k", "alt+keypad4"], "command": "mde_change_headings_level", "args": {"to": 4}, "context": |
| 525 | + [ |
| 526 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 527 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 528 | + ] |
| 529 | + }, |
| 530 | + { "keys": ["alt+k", "alt+4"], "command": "mde_change_headings_level", "args": {"to": 4}, "context": |
| 531 | + [ |
| 532 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 533 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 534 | + ] |
| 535 | + }, |
| 536 | + { "keys": ["alt+k", "alt+keypad5"], "command": "mde_change_headings_level", "args": {"to": 5}, "context": |
| 537 | + [ |
| 538 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 539 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 540 | + ] |
| 541 | + }, |
| 542 | + { "keys": ["alt+k", "alt+5"], "command": "mde_change_headings_level", "args": {"to": 5}, "context": |
| 543 | + [ |
| 544 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 545 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 546 | + ] |
| 547 | + }, |
| 548 | + { "keys": ["alt+k", "alt+keypad6"], "command": "mde_change_headings_level", "args": {"to": 6}, "context": |
| 549 | + [ |
| 550 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 551 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 552 | + ] |
| 553 | + }, |
| 554 | + { "keys": ["alt+k", "alt+6"], "command": "mde_change_headings_level", "args": {"to": 6}, "context": |
| 555 | + [ |
| 556 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 557 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 558 | + ] |
| 559 | + }, |
| 560 | + { "keys": ["shift+alt+."], "command": "mde_change_headings_level", "args": {"by": 1}, "context": |
| 561 | + [ |
| 562 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 563 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 564 | + ] |
| 565 | + }, |
| 566 | + { "keys": ["shift+alt+,"], "command": "mde_change_headings_level", "args": {"by": -1}, "context": |
| 567 | + [ |
| 568 | + { "key": "selector", "operator": "equal", "operand": "text.html.markdown - meta.frontmatter - meta.disable-markdown - markup.raw", "match_all": true }, |
| 569 | + { "key": "setting.mde.keymap_disable.set_heading_level", "operand": false } |
| 570 | + ] |
| 571 | + }, |
572 | 572 | { "keys": ["ctrl+shift+alt+pageup"], "command": "mde_goto_previous_heading", "args": {"same_level": true}, "context":
|
573 | 573 | [
|
574 | 574 | { "key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true },
|
|
0 commit comments