1767732207.json (32154B)
1 { 2 "title": "CODEmak (Coder's Colemak): symbolic number-row", 3 "rules": [ 4 { 5 "description": "CODEmak (Coder's Colemak): re-arrange / unshift number row (rev 6/18)", 6 "manipulators": [ 7 { 8 "description": "Left index: shift-4/$ ⇒ 1", 9 "from": { 10 "key_code": "4", 11 "modifiers": { 12 "mandatory": [ 13 "shift" 14 ], 15 "optional": [ 16 "command", 17 "control", 18 "option" 19 ] 20 } 21 }, 22 "to": [ 23 { 24 "key_code": "1" 25 } 26 ], 27 "conditions": [ 28 { 29 "type": "input_source_if", 30 "input_sources": [ 31 { 32 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 33 } 34 ] 35 } 36 ], 37 "type": "basic" 38 }, 39 { 40 "description": "Left index: 4 ⇒ shift-1/!", 41 "from": { 42 "key_code": "4", 43 "modifiers": { 44 "optional": [ 45 "command", 46 "control", 47 "option" 48 ] 49 } 50 }, 51 "to": [ 52 { 53 "key_code": "1", 54 "modifiers": [ 55 "left_shift" 56 ] 57 } 58 ], 59 "conditions": [ 60 { 61 "type": "input_source_if", 62 "input_sources": [ 63 { 64 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 65 } 66 ] 67 } 68 ], 69 "type": "basic" 70 }, 71 { 72 "description": "Left middle: shift-3/# ⇒ 3", 73 "from": { 74 "key_code": "3", 75 "modifiers": { 76 "mandatory": [ 77 "shift" 78 ], 79 "optional": [ 80 "command", 81 "control", 82 "option" 83 ] 84 } 85 }, 86 "to": [ 87 { 88 "key_code": "3" 89 } 90 ], 91 "conditions": [ 92 { 93 "type": "input_source_if", 94 "input_sources": [ 95 { 96 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 97 } 98 ] 99 } 100 ], 101 "type": "basic" 102 }, 103 { 104 "description": "Left middle: 3 ⇒ shift-3/#", 105 "from": { 106 "key_code": "3", 107 "modifiers": { 108 "optional": [ 109 "command", 110 "control", 111 "option" 112 ] 113 } 114 }, 115 "to": [ 116 { 117 "key_code": "3", 118 "modifiers": [ 119 "left_shift" 120 ] 121 } 122 ], 123 "conditions": [ 124 { 125 "type": "input_source_if", 126 "input_sources": [ 127 { 128 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 129 } 130 ] 131 } 132 ], 133 "type": "basic" 134 }, 135 { 136 "description": "Left ring: shift-2/@ ⇒ 5", 137 "from": { 138 "key_code": "2", 139 "modifiers": { 140 "mandatory": [ 141 "shift" 142 ], 143 "optional": [ 144 "command", 145 "control", 146 "option" 147 ] 148 } 149 }, 150 "to": [ 151 { 152 "key_code": "5" 153 } 154 ], 155 "conditions": [ 156 { 157 "type": "input_source_if", 158 "input_sources": [ 159 { 160 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 161 } 162 ] 163 } 164 ], 165 "type": "basic" 166 }, 167 { 168 "description": "Left ring: 2 ⇒ shift-5/%", 169 "from": { 170 "key_code": "2", 171 "modifiers": { 172 "optional": [ 173 "command", 174 "control", 175 "option" 176 ] 177 } 178 }, 179 "to": [ 180 { 181 "key_code": "5", 182 "modifiers": [ 183 "left_shift" 184 ] 185 } 186 ], 187 "conditions": [ 188 { 189 "type": "input_source_if", 190 "input_sources": [ 191 { 192 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 193 } 194 ] 195 } 196 ], 197 "type": "basic" 198 }, 199 { 200 "description": "Left pinkie: shift-1/! ⇒ 7", 201 "from": { 202 "key_code": "1", 203 "modifiers": { 204 "mandatory": [ 205 "shift" 206 ], 207 "optional": [ 208 "command", 209 "control", 210 "option" 211 ] 212 } 213 }, 214 "to": [ 215 { 216 "key_code": "7" 217 } 218 ], 219 "conditions": [ 220 { 221 "type": "input_source_if", 222 "input_sources": [ 223 { 224 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 225 } 226 ] 227 } 228 ], 229 "type": "basic" 230 }, 231 { 232 "description": "Left pinkie: 1 ⇒ shift-7/&", 233 "from": { 234 "key_code": "1", 235 "modifiers": { 236 "optional": [ 237 "command", 238 "control", 239 "option" 240 ] 241 } 242 }, 243 "to": [ 244 { 245 "key_code": "7", 246 "modifiers": [ 247 "left_shift" 248 ] 249 } 250 ], 251 "conditions": [ 252 { 253 "type": "input_source_if", 254 "input_sources": [ 255 { 256 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 257 } 258 ] 259 } 260 ], 261 "type": "basic" 262 }, 263 { 264 "description": "Left stretch: shift-5/% ⇒ 9", 265 "from": { 266 "key_code": "5", 267 "modifiers": { 268 "mandatory": [ 269 "shift" 270 ], 271 "optional": [ 272 "command", 273 "control", 274 "option" 275 ] 276 } 277 }, 278 "to": [ 279 { 280 "key_code": "9" 281 } 282 ], 283 "conditions": [ 284 { 285 "type": "input_source_if", 286 "input_sources": [ 287 { 288 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 289 } 290 ] 291 } 292 ], 293 "type": "basic" 294 }, 295 { 296 "description": "Left stretch: 5 ⇒ shift-9/(", 297 "from": { 298 "key_code": "5", 299 "modifiers": { 300 "optional": [ 301 "command", 302 "control", 303 "option" 304 ] 305 } 306 }, 307 "to": [ 308 { 309 "key_code": "9", 310 "modifiers": [ 311 "left_shift" 312 ] 313 } 314 ], 315 "conditions": [ 316 { 317 "type": "input_source_if", 318 "input_sources": [ 319 { 320 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 321 } 322 ] 323 } 324 ], 325 "type": "basic" 326 }, 327 { 328 "description": "Right index: shift-7/& ⇒ 2", 329 "from": { 330 "key_code": "7", 331 "modifiers": { 332 "mandatory": [ 333 "shift" 334 ], 335 "optional": [ 336 "command", 337 "control", 338 "option" 339 ] 340 } 341 }, 342 "to": [ 343 { 344 "key_code": "2" 345 } 346 ], 347 "conditions": [ 348 { 349 "type": "input_source_if", 350 "input_sources": [ 351 { 352 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 353 } 354 ] 355 } 356 ], 357 "type": "basic" 358 }, 359 { 360 "description": "Right index: 7 ⇒ shift-2/@", 361 "from": { 362 "key_code": "7", 363 "modifiers": { 364 "optional": [ 365 "command", 366 "control", 367 "option" 368 ] 369 } 370 }, 371 "to": [ 372 { 373 "key_code": "2", 374 "modifiers": [ 375 "left_shift" 376 ] 377 } 378 ], 379 "conditions": [ 380 { 381 "type": "input_source_if", 382 "input_sources": [ 383 { 384 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 385 } 386 ] 387 } 388 ], 389 "type": "basic" 390 }, 391 { 392 "description": "Right middle: shift-8/* ⇒ 4", 393 "from": { 394 "key_code": "8", 395 "modifiers": { 396 "mandatory": [ 397 "shift" 398 ], 399 "optional": [ 400 "command", 401 "control", 402 "option" 403 ] 404 } 405 }, 406 "to": [ 407 { 408 "key_code": "4" 409 } 410 ], 411 "conditions": [ 412 { 413 "type": "input_source_if", 414 "input_sources": [ 415 { 416 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 417 } 418 ] 419 } 420 ], 421 "type": "basic" 422 }, 423 { 424 "description": "Right middle: 8 ⇒ shift-4/$", 425 "from": { 426 "key_code": "8", 427 "modifiers": { 428 "optional": [ 429 "command", 430 "control", 431 "option" 432 ] 433 } 434 }, 435 "to": [ 436 { 437 "key_code": "4", 438 "modifiers": [ 439 "left_shift" 440 ] 441 } 442 ], 443 "conditions": [ 444 { 445 "type": "input_source_if", 446 "input_sources": [ 447 { 448 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 449 } 450 ] 451 } 452 ], 453 "type": "basic" 454 }, 455 { 456 "description": "Right ring: shift-9/( ⇒ 6", 457 "from": { 458 "key_code": "9", 459 "modifiers": { 460 "mandatory": [ 461 "shift" 462 ], 463 "optional": [ 464 "command", 465 "control", 466 "option" 467 ] 468 } 469 }, 470 "to": [ 471 { 472 "key_code": "6" 473 } 474 ], 475 "conditions": [ 476 { 477 "type": "input_source_if", 478 "input_sources": [ 479 { 480 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 481 } 482 ] 483 } 484 ], 485 "type": "basic" 486 }, 487 { 488 "description": "Right ring: 9 ⇒ shift-6/^", 489 "from": { 490 "key_code": "9", 491 "modifiers": { 492 "optional": [ 493 "command", 494 "control", 495 "option" 496 ] 497 } 498 }, 499 "to": [ 500 { 501 "key_code": "6", 502 "modifiers": [ 503 "left_shift" 504 ] 505 } 506 ], 507 "conditions": [ 508 { 509 "type": "input_source_if", 510 "input_sources": [ 511 { 512 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 513 } 514 ] 515 } 516 ], 517 "type": "basic" 518 }, 519 { 520 "description": "Right pinkie: shift-0/) ⇒ 8", 521 "from": { 522 "key_code": "0", 523 "modifiers": { 524 "mandatory": [ 525 "shift" 526 ], 527 "optional": [ 528 "command", 529 "control", 530 "option" 531 ] 532 } 533 }, 534 "to": [ 535 { 536 "key_code": "8" 537 } 538 ], 539 "conditions": [ 540 { 541 "type": "input_source_if", 542 "input_sources": [ 543 { 544 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 545 } 546 ] 547 } 548 ], 549 "type": "basic" 550 }, 551 { 552 "description": "Right pinkie: 0 ⇒ shift-8/*", 553 "from": { 554 "key_code": "0", 555 "modifiers": { 556 "optional": [ 557 "command", 558 "control", 559 "option" 560 ] 561 } 562 }, 563 "to": [ 564 { 565 "key_code": "8", 566 "modifiers": [ 567 "left_shift" 568 ] 569 } 570 ], 571 "conditions": [ 572 { 573 "type": "input_source_if", 574 "input_sources": [ 575 { 576 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 577 } 578 ] 579 } 580 ], 581 "type": "basic" 582 }, 583 { 584 "description": "Right stretch: shift-6/^ ⇒ 0", 585 "from": { 586 "key_code": "6", 587 "modifiers": { 588 "mandatory": [ 589 "shift" 590 ], 591 "optional": [ 592 "command", 593 "control", 594 "option" 595 ] 596 } 597 }, 598 "to": [ 599 { 600 "key_code": "0" 601 } 602 ], 603 "conditions": [ 604 { 605 "type": "input_source_if", 606 "input_sources": [ 607 { 608 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 609 } 610 ] 611 } 612 ], 613 "type": "basic" 614 }, 615 { 616 "description": "Right stretch: 6 ⇒ shift-0/)", 617 "from": { 618 "key_code": "6", 619 "modifiers": { 620 "optional": [ 621 "command", 622 "control", 623 "option" 624 ] 625 } 626 }, 627 "to": [ 628 { 629 "key_code": "0", 630 "modifiers": [ 631 "left_shift" 632 ] 633 } 634 ], 635 "conditions": [ 636 { 637 "type": "input_source_if", 638 "input_sources": [ 639 { 640 "input_source_id": "com\\.apple\\.keylayout\\.Colemak" 641 } 642 ] 643 } 644 ], 645 "type": "basic" 646 } 647 ] 648 }, 649 { 650 "description": "CODEmak (Coder's Colemak) Lite: just unshift number row (rev 10/18)", 651 "manipulators": [ 652 { 653 "description": "shift-4/$ ⇒ 4", 654 "from": { 655 "key_code": "4", 656 "modifiers": { 657 "mandatory": [ 658 "shift" 659 ], 660 "optional": [ 661 "command", 662 "control", 663 "option" 664 ] 665 } 666 }, 667 "to": [ 668 { 669 "key_code": "4" 670 } 671 ], 672 "type": "basic" 673 }, 674 { 675 "description": "1 ⇒ shift-1/!", 676 "from": { 677 "key_code": "1", 678 "modifiers": { 679 "optional": [ 680 "command", 681 "control", 682 "option" 683 ] 684 } 685 }, 686 "to": [ 687 { 688 "key_code": "1", 689 "modifiers": [ 690 "left_shift" 691 ] 692 } 693 ], 694 "type": "basic" 695 }, 696 { 697 "description": "shift-3/# ⇒ 3", 698 "from": { 699 "key_code": "3", 700 "modifiers": { 701 "mandatory": [ 702 "shift" 703 ], 704 "optional": [ 705 "command", 706 "control", 707 "option" 708 ] 709 } 710 }, 711 "to": [ 712 { 713 "key_code": "3" 714 } 715 ], 716 "type": "basic" 717 }, 718 { 719 "description": "3 ⇒ shift-3/#", 720 "from": { 721 "key_code": "3", 722 "modifiers": { 723 "optional": [ 724 "command", 725 "control", 726 "option" 727 ] 728 } 729 }, 730 "to": [ 731 { 732 "key_code": "3", 733 "modifiers": [ 734 "left_shift" 735 ] 736 } 737 ], 738 "type": "basic" 739 }, 740 { 741 "description": "shift-2/@ ⇒ 2", 742 "from": { 743 "key_code": "2", 744 "modifiers": { 745 "mandatory": [ 746 "shift" 747 ], 748 "optional": [ 749 "command", 750 "control", 751 "option" 752 ] 753 } 754 }, 755 "to": [ 756 { 757 "key_code": "2" 758 } 759 ], 760 "type": "basic" 761 }, 762 { 763 "description": "5 ⇒ shift-5/%", 764 "from": { 765 "key_code": "5", 766 "modifiers": { 767 "optional": [ 768 "command", 769 "control", 770 "option" 771 ] 772 } 773 }, 774 "to": [ 775 { 776 "key_code": "5", 777 "modifiers": [ 778 "left_shift" 779 ] 780 } 781 ], 782 "type": "basic" 783 }, 784 { 785 "description": "shift-1/! ⇒ 1", 786 "from": { 787 "key_code": "1", 788 "modifiers": { 789 "mandatory": [ 790 "shift" 791 ], 792 "optional": [ 793 "command", 794 "control", 795 "option" 796 ] 797 } 798 }, 799 "to": [ 800 { 801 "key_code": "1" 802 } 803 ], 804 "type": "basic" 805 }, 806 { 807 "description": "7 ⇒ shift-7/&", 808 "from": { 809 "key_code": "7", 810 "modifiers": { 811 "optional": [ 812 "command", 813 "control", 814 "option" 815 ] 816 } 817 }, 818 "to": [ 819 { 820 "key_code": "7", 821 "modifiers": [ 822 "left_shift" 823 ] 824 } 825 ], 826 "type": "basic" 827 }, 828 { 829 "description": "shift-5/% ⇒ 5", 830 "from": { 831 "key_code": "5", 832 "modifiers": { 833 "mandatory": [ 834 "shift" 835 ], 836 "optional": [ 837 "command", 838 "control", 839 "option" 840 ] 841 } 842 }, 843 "to": [ 844 { 845 "key_code": "5" 846 } 847 ], 848 "type": "basic" 849 }, 850 { 851 "description": "9 ⇒ shift-9/(", 852 "from": { 853 "key_code": "9", 854 "modifiers": { 855 "optional": [ 856 "command", 857 "control", 858 "option" 859 ] 860 } 861 }, 862 "to": [ 863 { 864 "key_code": "9", 865 "modifiers": [ 866 "left_shift" 867 ] 868 } 869 ], 870 "type": "basic" 871 }, 872 { 873 "description": "shift-7/& ⇒ 7", 874 "from": { 875 "key_code": "7", 876 "modifiers": { 877 "mandatory": [ 878 "shift" 879 ], 880 "optional": [ 881 "command", 882 "control", 883 "option" 884 ] 885 } 886 }, 887 "to": [ 888 { 889 "key_code": "7" 890 } 891 ], 892 "type": "basic" 893 }, 894 { 895 "description": "2 ⇒ shift-2/@", 896 "from": { 897 "key_code": "2", 898 "modifiers": { 899 "optional": [ 900 "command", 901 "control", 902 "option" 903 ] 904 } 905 }, 906 "to": [ 907 { 908 "key_code": "2", 909 "modifiers": [ 910 "left_shift" 911 ] 912 } 913 ], 914 "type": "basic" 915 }, 916 { 917 "description": "shift-8/* ⇒ 8", 918 "from": { 919 "key_code": "8", 920 "modifiers": { 921 "mandatory": [ 922 "shift" 923 ], 924 "optional": [ 925 "command", 926 "control", 927 "option" 928 ] 929 } 930 }, 931 "to": [ 932 { 933 "key_code": "8" 934 } 935 ], 936 "type": "basic" 937 }, 938 { 939 "description": "4 ⇒ shift-4/$", 940 "from": { 941 "key_code": "4", 942 "modifiers": { 943 "optional": [ 944 "command", 945 "control", 946 "option" 947 ] 948 } 949 }, 950 "to": [ 951 { 952 "key_code": "4", 953 "modifiers": [ 954 "left_shift" 955 ] 956 } 957 ], 958 "type": "basic" 959 }, 960 { 961 "description": "shift-9/( ⇒ 9", 962 "from": { 963 "key_code": "9", 964 "modifiers": { 965 "mandatory": [ 966 "shift" 967 ], 968 "optional": [ 969 "command", 970 "control", 971 "option" 972 ] 973 } 974 }, 975 "to": [ 976 { 977 "key_code": "9" 978 } 979 ], 980 "type": "basic" 981 }, 982 { 983 "description": "6 ⇒ shift-6/^", 984 "from": { 985 "key_code": "6", 986 "modifiers": { 987 "optional": [ 988 "command", 989 "control", 990 "option" 991 ] 992 } 993 }, 994 "to": [ 995 { 996 "key_code": "6", 997 "modifiers": [ 998 "left_shift" 999 ] 1000 } 1001 ], 1002 "type": "basic" 1003 }, 1004 { 1005 "description": "shift-0/) ⇒ 0", 1006 "from": { 1007 "key_code": "0", 1008 "modifiers": { 1009 "mandatory": [ 1010 "shift" 1011 ], 1012 "optional": [ 1013 "command", 1014 "control", 1015 "option" 1016 ] 1017 } 1018 }, 1019 "to": [ 1020 { 1021 "key_code": "0" 1022 } 1023 ], 1024 "type": "basic" 1025 }, 1026 { 1027 "description": "8 ⇒ shift-8/*", 1028 "from": { 1029 "key_code": "8", 1030 "modifiers": { 1031 "optional": [ 1032 "command", 1033 "control", 1034 "option" 1035 ] 1036 } 1037 }, 1038 "to": [ 1039 { 1040 "key_code": "8", 1041 "modifiers": [ 1042 "left_shift" 1043 ] 1044 } 1045 ], 1046 "type": "basic" 1047 }, 1048 { 1049 "description": "shift-6/^ ⇒ 6", 1050 "from": { 1051 "key_code": "6", 1052 "modifiers": { 1053 "mandatory": [ 1054 "shift" 1055 ], 1056 "optional": [ 1057 "command", 1058 "control", 1059 "option" 1060 ] 1061 } 1062 }, 1063 "to": [ 1064 { 1065 "key_code": "6" 1066 } 1067 ], 1068 "type": "basic" 1069 }, 1070 { 1071 "description": "0 ⇒ shift-0/)", 1072 "from": { 1073 "key_code": "0", 1074 "modifiers": { 1075 "optional": [ 1076 "command", 1077 "control", 1078 "option" 1079 ] 1080 } 1081 }, 1082 "to": [ 1083 { 1084 "key_code": "0", 1085 "modifiers": [ 1086 "left_shift" 1087 ] 1088 } 1089 ], 1090 "type": "basic" 1091 } 1092 ] 1093 } 1094 ] 1095 }