-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarabiner.edn
996 lines (926 loc) · 36 KB
/
karabiner.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
{
:profiles {:Default
{
:default true
:alone 180
:delay 200
:held 300
:sim 100
}
}
:applications {;; tenho mantido atalhos de aplicativos no Keyboard Maestro, mas daria para recriá-los aqui
;; colocando :App no final de uma regra posso restringi-la a um determinado app especificado aqui
;; para excluir certas regras de aplciativos, é preciso espscificá-los aqui e usar um :!aplicativo no grupo correspondente
:parallels ["com.parallels.desktop.console"]
:code ["com.microsoft.VSCode"]
:safari ["com.apple.Safari"]
:chrome ["com.google.Chrome"]
:mail ["com.apple.mail"]
}
:simlayers {;; são melhores do que layers normais pois permitem cumular com teclas de uso normal sem afetar os rolls
;; achei melhores que as mod-tap layers pois não requerem intervalo de ativação
;; basta manter um intervalo de alone baixo para evitar ativações em rolls
:nav_layer {:key :spacebar}
:a-mode {:key :a} ;; left control
:s-mode {:key :s} ;; left alt
:d-mode {:key :d} ;; left command
:f-mode {:key :f} ;; left shift
:j-mode {:key :j} ;; right shift
:k-mode {:key :k} ;; right command
:l-mode {:key :l} ;; right command
:semicolon-mode {:key :semicolon} ;; right command
:q-mode {:key :q} ;; swish
:w-mode {:key :w} ;; dígitos em numpad
:e-mode {:key :e} ;; música
:r-mode {:key :r} ;; function row
:m-mode {:key :m} ;; acentos na home row
}
:templates {;; para evitar repetição de comandos shell
:open "open -a \"%s\"" ;; abrir apps
:url "open location \"%s\""
:km "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\"'" ;; executar macro por nome
:notify "osascript -e 'display notification \"%s\"'"
}
:main [{:des "Caps Lock to Hyper/Esc no macOS" ;; hyper on hold ESC on tap
:rules [:!parallels ;; evitar no Parallels, que está dando problema com o Office para Mac
[:caps_lock :!COSleft_control nil {:alone :escape}]]}
{:des "Caps Lock to Control/Esc no Windows" ;; hyper on hold ESC on tap
:rules [:parallels ;; no Parallels, usar control, que é muito mais útil no Windows
[:caps_lock :left_control nil {:alone :escape}]
[:!Cspacebar :left_command] ;; para usar o menu iniciar como se fosse o Alfred/Spotlight
]}
{:des "Thumb Mod Taps" ;; usando as teclas de mod para facilitar o alcance dos dedos e usar mais os polegares e menos os mindinhos
:rules [[:condi :!parallels :!a-mode :!s-mode :!d-mode :!f-mode :!j-mode :!k-mode :!l-mode :!semicolon-mode] ;; exclui o Parallels para poder usar a tecla Command como tecla Windows normalmente na VM
;; Left control taps to Command+Shift+F19 (Trigger para Shortcat)
[:##left_control :left_control nil {:alone :!CSf19}]
;; Left Option taps to Command+Shift+F18 (Trigger variável para macros)
[:##left_option :left_option nil {:alone :!CSf18}]
;; Left Command taps to Escape
[:##left_command :left_command nil {:alone :return_or_enter}]
;; Right Command mods do Hyper taps to Delete Backspace
[:##right_command :!TOSright_command nil {:alone :delete_or_backspace}] ;; tive alterar a configuração do Alfred que estava dando falsos positivos para o Quicklook
;; Right Option taps to Escape
[:##right_option :right_option nil {:alone :##escape}]]}
{:des "Space Nav layer" ;; espaço + IJKL + CAGS home row modifiers
:rules [[:condi :nav_layer :!e-mode :!w-mode :!m-mode :!q-mode]
;; setas
[:##j :left_arrow]
[:##k :down_arrow]
[:##i :up_arrow]
[:##l :right_arrow]
;; home row mods CAGS layout
[:##a :left_control]
[:##s :left_option]
[:##d :left_command]
[:##f :left_shift]
[:##g :fn]
;; single shot cut copy paste
[:##x :!Cx]
[:##c :!Cc]
[:##v :!Cv]
;; undo redo
[:u :!Cz]
[:r :!CSz]
[:z :!Cz]
[:b :!CSz]
;; delete
[:##h :delete_or_backspace] ;; dei-me conta de que é uma das funções que mais uso no modo de navegação
[:##semicolon :delete_or_backspace]
;; fold/unfold
[:##open_bracket :!COopen_bracket]
[:##close_bracket :!COclose_bracket]]}
{:des "Acentos mais convenientes com o Q-mode"
:rules [[:condi :!nav_layer :!e-mode :!w-mode :!m-mode :q-mode]
[:u :!Sgrave_accent_and_tilde] ;; ã
[:i :quote] ;; á
[:o :!S6] ;; â
[:p :grave_accent_and_tilde] ;; à
]}
{:des "Swish Mode Window Manager" ; S + IJKL e permite usas os mods com o Swish
:rules [[:condi :!nav_layer :!e-mode :w-mode :!m-mode :!q-mode] ;; atalhos mais ergonômicos para o Swish
;; setas
[:##j [:!Fj]]
[:##i [:!Fi]]
[:##k [:!Fk]]
[:##l [:!Fl]]
;; centralizar
[:comma [:!Freturn_or_enter]]
;; home row mods CAGS layout
[:##a :left_control]
[:##s :left_option]
[:##d :left_command]
[:##f :left_shift]
[:##g :fn]
;; alternar entre spaces
[:h :!Tleft_arrow]
[:semicolon :!Tright_arrow]
;; espaços pré-arranjados
]}
{:des "E numpad" ;; segurando o E com a mão esquerda, uso um numpad com a mão direita
:rules [[:condi :e-mode :!nav_layer :!w-mode :!m-mode :!q-mode]
[:##u :7]
[:##i :8]
[:##o :9]
[:##j :4]
[:##k :5]
[:##l :6]
[:##m :1]
[:##comma :2]
[:##period :3]
[:semicolon :0]
[:##right_command :delete_or_backspace]
[:##right_option :period]
[:##spacebar :0]
;; home row mods CAGS layout
[:##a :left_control]
[:##s :left_option]
[:##d :left_command]
[:##f :left_shift]
[:##g :fn]]}
{:des "R Function row"
:rules[[:condi :!q-mode :!w-mode :!e-mode :r-mode :!nav_layer :!m-mode]
[:##u :f7]
[:##i :f8]
[:##o :f9]
[:##j :f4]
[:##k :f5]
[:##l :f6]
[:##m :f1]
[:##comma :f2]
[:##period :f3]
[:semicolon :f10]
[:##right_command :delete_or_backspace]
[:##right_option :period]
;; home row mods CAGS layout
[:##a :left_control]
[:##s :left_option]
[:##d :left_command]
[:##f :left_shift]]}
{:des "Controles de música no M"
:rules [[:condi :m-mode :!nav_layer :!e-mode :!w-mode :!q-mode]
[:k :rewind]
[:l :play_or_pause]
[:semicolon :fastforward]
[:u :!!u]
[:i :mute]
[:o :volume_decrement]
[:p :volume_increment]]}
{:des "Stage Manager workarounds" ; No iPadOS alguns atalhos usam a tecla globe, mas no macOS não são os mesmos
:rules [[:!Fgrave_accent_and_tilde :!Cgrave_accent_and_tilde] ;; alternar janelas com mesmo combo do iPad
]}
;; Huge home-row mods ahead untill the end of file
;; left-hand on CAGS
{:des "Left Control to A" ;; CAGS
:rules [[:condi :a-mode :!s-mode :!d-mode :!f-mode :!j-mode :!k-mode :!l-mode :!semicolon-mode]
;; home row mods CAGS layout
;;[:##a :left_control]
[:##s :left_option]
[:##d :left_command]
[:##f :left_shift]
;; qwerty 30x grid
; top-row
[:##q :!Tq]
[:##w :!Tw]
[:##e :!Te]
[:##r :!Tr]
[:##t :!Tt]
[:##y :!Ty]
[:##u :!Tu]
[:##i :!Ti]
[:##o :!To]
[:##p :!Tp]
; home-row
;;[:##a :!Ta]
[:##s :!Ts]
[:##d :!Td]
[:##f :!Tf]
[:##g :!Tg]
[:##h :!Th]
[:##j :!Tj]
[:##k :!Tk]
[:##l :!Tl]
[:##semicolon :!Tsemicolon]
;botton row
[:##z :!Tz]
[:##x :!Tx]
[:##c :!Tc]
[:##v :!Tv]
[:##b :!Tb]
[:##n :!Tn]
[:##m :!Tm]
[:##comma :!Tcomma]
[:##period :!Tperiod]
[:##slash :!Tslash]
;; number row
[:##1 :!T1]
[:##2 :!T2]
[:##3 :!T3]
[:##4 :!T4]
[:##5 :!T5]
[:##6 :!T6]
[:##7 :!T7]
[:##8 :!T8]
[:##9 :!T9]
[:##0 :!T0]
;; other keys
[:##hyphen :!Thyphen]
[:##equal_sign :!Tequal_sign]
[:##backslash :!Tbackslash]
[:##open_bracket :!Topen_bracket]
[:##close_bracket :!Tclose_bracket]
[:##delete_or_backspace :!Tdelete_or_backspace]
[:##grave_accent_and_tilde :!Tgrave_accent_and_tilde]
[:##quote :!Tquote]
[:##return_or_enter :!Treturn_or_enter]
[:##tab :!Ttab]
[:##escape :!Tescape]
[:##left_arrow :!Tleft_arrow]
[:##right_arrow :!Tright_arrow]
[:##up_arrow :!Tup_arrow]
[:##down_arrow :!Tdown_arrow]
[:##spacebar :!Tspacebar]
;mod-taps
[:##left_command :!Treturn_or_enter]
[:##right_command :!Tdelete_or_backspace]
[:##right_option :!Tescape]
;;functions
[:##f1 :!Tf1]
[:##f2 :!Tf2]
[:##f3 :!Tf3]
[:##f4 :!Tf4]
[:##f5 :!Tf5]
[:##f6 :!Tf6]
[:##f7 :!Tf7]
[:##f8 :!Tf8]
[:##f9 :!Tf9]
[:##f10 :!Tf10]
[:##f11 :!Tf11]
[:##f12 :!Tf12]
[:##f13 :!Tf13]
[:##f14 :!Tf14]
[:##f15 :!Tf15]
[:##f16 :!Tf16]
[:##f17 :!Tf17]
[:##f18 :!Tf18]
[:##f19 :!Tf19]
[:##f20 :!Tf20]]}
{:des "Left Option/Alt to S" ;; CAGS
:rules [[:condi :!a-mode :s-mode :!d-mode :!f-mode :!j-mode :!k-mode :!l-mode :!semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
[:##a :left_control]
;;[:##s :left_option]
[:##d :left_command]
[:##f :left_shift]
;; qwerty 30x grid
; top-row
[:##q :!Oq]
[:##w :!Ow]
[:##e :!Oe]
[:##r :!Or]
[:##t :!Ot]
[:##y :!Oy]
[:##u :!Ou]
[:##i :!Oi]
[:##o :!Oo]
[:##p :!Op]
; home-row
[:##a :!Oa]
;;[:##s :!Os]
[:##d :!Od]
[:##f :!Of]
[:##g :!Og]
[:##h :!Oh]
[:##j :!Oj]
[:##k :!Ok]
[:##l :!Ol]
[:##semicolon :!Osemicolon]
;botton row
[:##z :!Oz]
[:##x :!Ox]
[:##c :!Oc]
[:##v :!Ov]
[:##b :!Ob]
[:##n :!On]
[:##m :!Om]
[:##comma :!Ocomma]
[:##period :!Operiod]
[:##slash :!Oslash]
;; number row
[:##1 :!O1]
[:##2 :!O2]
[:##3 :!O3]
[:##4 :!O4]
[:##5 :!O5]
[:##6 :!O6]
[:##7 :!O7]
[:##8 :!O8]
[:##9 :!O9]
[:##0 :!O0]
;; other keys
[:##hyphen :!Ohyphen]
[:##equal_sign :!Oequal_sign]
[:##backslash :!Obackslash]
[:##open_bracket :!Oopen_bracket]
[:##close_bracket :!Oclose_bracket]
[:##delete_or_backspace :!Odelete_or_backspace]
[:##grave_accent_and_tilde :!Ograve_accent_and_tilde]
[:##quote :!Oquote]
[:##return_or_enter :!Oreturn_or_enter]
[:##tab :!Otab]
[:##escape :!Oescape]
[:##left_arrow :!Oleft_arrow]
[:##right_arrow :!Oright_arrow]
[:##up_arrow :!Oup_arrow]
[:##down_arrow :!Odown_arrow]
[:##spacebar :!Ospacebar]
;mod-taps
[:##left_command :!Oreturn_or_enter]
[:##right_command :!Odelete_or_backspace]
[:##right_option :!Oescape]
;;functions
[:##f1 :!Of1]
[:##f2 :!Of2]
[:##f3 :!Of3]
[:##f4 :!Of4]
[:##f5 :!Of5]
[:##f6 :!Of6]
[:##f7 :!Of7]
[:##f8 :!Of8]
[:##f9 :!Of9]
[:##f10 :!Of10]
[:##f11 :!Of11]
[:##f12 :!Of12]
[:##f13 :!Of13]
[:##f14 :!Of14]
[:##f15 :!Of15]
[:##f16 :!Of16]
[:##f17 :!Of17]
[:##f18 :!Of18]
[:##f19 :!Of19]
[:##f20 :!Of20]]}
{:des "Left Command to D" ;; CAGS
:rules [[:condi :!a-mode :!s-mode :d-mode :!f-mode :!j-mode :!k-mode :!l-mode :!semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
[:##a :left_control]
[:##s :left_option]
;;[:##d :left_command]
[:##f :left_shift]
;; qwerty 30x grid
; top-row
[:##q :!Cq]
[:##w :!Cw]
[:##e :!Ce]
[:##r :!Cr]
[:##t :!Ct]
[:##y :!Cy]
[:##u :!Cu]
[:##i :!Ci]
[:##o :!Co]
[:##p :!Cp]
; home-row
[:##a :!Ca]
[:##s :!Cs]
;;[:##d :!Cd]
[:##f :!Cf]
[:##g :!Cg]
[:##h :!Ch]
[:##j :!Cj]
[:##k :!Ck]
[:##l :!Cl]
[:##semicolon :!Csemicolon]
;botton row
[:##z :!Cz]
[:##x :!Cx]
[:##c :!Cc]
[:##v :!Cv]
[:##b :!Cb]
[:##n :!Cn]
[:##m :!Cm]
[:##comma :!Ccomma]
[:##period :!Cperiod]
[:##slash :!Cslash]
;; number row
[:##1 :!C1]
[:##2 :!C2]
[:##3 :!C3]
[:##4 :!C4]
[:##5 :!C5]
[:##6 :!C6]
[:##7 :!C7]
[:##8 :!C8]
[:##9 :!C9]
[:##0 :!C0]
;; other keys
[:##hyphen :!Chyphen]
[:##equal_sign :!Cequal_sign]
[:##backslash :!Cbackslash]
[:##open_bracket :!Copen_bracket]
[:##close_bracket :!Cclose_bracket]
[:##delete_or_backspace :!Cdelete_or_backspace]
[:##grave_accent_and_tilde :!Cgrave_accent_and_tilde]
[:##quote :!Cquote]
[:##return_or_enter :!Creturn_or_enter]
[:##tab :!Ctab]
[:##escape :!Cescape]
[:##left_arrow :!Cleft_arrow]
[:##right_arrow :!Cright_arrow]
[:##up_arrow :!Cup_arrow]
[:##down_arrow :!Cdown_arrow]
[:##spacebar :!Cspacebar]
;mod-taps
[:##left_command :!Creturn_or_enter]
[:##right_command :!Cdelete_or_backspace]
[:##right_option :!Cescape]
;;functions
[:##f1 :!Cf1]
[:##f2 :!Cf2]
[:##f3 :!Cf3]
[:##f4 :!Cf4]
[:##f5 :!Cf5]
[:##f6 :!Cf6]
[:##f7 :!Cf7]
[:##f8 :!Cf8]
[:##f9 :!Cf9]
[:##f10 :!Cf10]
[:##f11 :!Cf11]
[:##f12 :!Cf12]
[:##f13 :!Cf13]
[:##f14 :!Cf14]
[:##f15 :!Cf15]
[:##f16 :!Cf16]
[:##f17 :!Cf17]
[:##f18 :!Cf18]
[:##f19 :!Cf19]
[:##f20 :!Cf20]]}
{:des "Left Shift to F" ;; CAGS
:rules [[:condi :!a-mode :!s-mode :!d-mode :f-mode :!j-mode :!k-mode :!l-mode :!semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
[:##a :left_control]
[:##s :left_option]
[:##d :left_command]
;;[:##f :left_shift]
;; qwerty 30x grid
; top-row
[:##q :!Sq]
[:##w :!Sw]
[:##e :!Se]
[:##r :!Sr]
[:##t :!St]
[:##y :!Sy]
[:##u :!Su]
[:##i :!Si]
[:##o :!So]
[:##p :!Sp]
; home-row
[:##a :!Sa]
[:##s :!Ss]
[:##d :!Sd]
;;[:##f :!Sf]
[:##g :!Sg]
[:##h :!Sh]
[:##j :!Sj]
[:##k :!Sk]
[:##l :!Sl]
[:##semicolon :!Ssemicolon]
;botton row
[:##z :!Sz]
[:##x :!Sx]
[:##c :!Sc]
[:##v :!Sv]
[:##b :!Sb]
[:##n :!Sn]
[:##m :!Sm]
[:##comma :!Scomma]
[:##period :!Speriod]
[:##slash :!Sslash]
;; number row
[:##1 :!S1]
[:##2 :!S2]
[:##3 :!S3]
[:##4 :!S4]
[:##5 :!S5]
[:##6 :!S6]
[:##7 :!S7]
[:##8 :!S8]
[:##9 :!S9]
[:##0 :!S0]
;; other keys
[:##hyphen :!Shyphen]
[:##equal_sign :!Sequal_sign]
[:##backslash :!Sbackslash]
[:##open_bracket :!Sopen_bracket]
[:##close_bracket :!Sclose_bracket]
[:##delete_or_backspace :!Sdelete_or_backspace]
[:##grave_accent_and_tilde :!Sgrave_accent_and_tilde]
[:##quote :!Squote]
[:##return_or_enter :!Sreturn_or_enter]
[:##tab :!Stab]
[:##escape :!Sescape]
[:##left_arrow :!Sleft_arrow]
[:##right_arrow :!Sright_arrow]
[:##up_arrow :!Sup_arrow]
[:##down_arrow :!Sdown_arrow]
[:##spacebar :!Sspacebar]
;mod-taps
[:##left_command :!Sreturn_or_enter]
[:##right_command :!Sdelete_or_backspace]
[:##right_option :!Sescape]
;;functions
[:##f1 :!Sf1]
[:##f2 :!Sf2]
[:##f3 :!Sf3]
[:##f4 :!Sf4]
[:##f5 :!Sf5]
[:##f6 :!Sf6]
[:##f7 :!Sf7]
[:##f8 :!Sf8]
[:##f9 :!Sf9]
[:##f10 :!Sf10]
[:##f11 :!Sf11]
[:##f12 :!Sf12]
[:##f13 :!Sf13]
[:##f14 :!Sf14]
[:##f15 :!Sf15]
[:##f16 :!Sf16]
[:##f17 :!Sf17]
[:##f18 :!Sf18]
[:##f19 :!Sf19]
[:##f20 :!Sf20]]}
;; right-hand on inverted CAGS = SGAC
{:des "Right Shift to J" ;; SGAC
:rules [[:condi :!a-mode :!s-mode :!d-mode :!f-mode :j-mode :!k-mode :!l-mode :!semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
;;[:##j :right_shift]
[:##k :right_command]
[:##l :right_option]
[:##semicolon :right_control]
;; qwerty 30x grid
; top-row
[:##q :!Rq]
[:##w :!Rw]
[:##e :!Re]
[:##r :!Rr]
[:##t :!Rt]
[:##y :!Ry]
[:##u :!Ru]
[:##i :!Ri]
[:##o :!Ro]
[:##p :!Rp]
; home-row
[:##a :!Ra]
[:##s :!Rs]
[:##d :!Rd]
[:##f :!Rf]
[:##g :!Rg]
[:##h :!Rh]
;; [:##j :!Rj]
[:##k :!Rk]
[:##l :!Rl]
[:##semicolon :!Rsemicolon]
;botton row
[:##z :!Rz]
[:##x :!Rx]
[:##c :!Rc]
[:##v :!Rv]
[:##b :!Rb]
[:##n :!Rn]
[:##m :!Rm]
[:##comma :!Rcomma]
[:##period :!Rperiod]
[:##slash :!Rslash]
;; number row
[:##1 :!R1]
[:##2 :!R2]
[:##3 :!R3]
[:##4 :!R4]
[:##5 :!R5]
[:##6 :!R6]
[:##7 :!R7]
[:##8 :!R8]
[:##9 :!R9]
[:##0 :!R0]
;; other keys
[:##hyphen :!Rhyphen]
[:##equal_sign :!Requal_sign]
[:##backslash :!Rbackslash]
[:##open_bracket :!Ropen_bracket]
[:##close_bracket :!Rclose_bracket]
[:##delete_or_backspace :!Rdelete_or_backspace]
[:##grave_accent_and_tilde :!Rgrave_accent_and_tilde]
[:##quote :!Rquote]
[:##return_or_enter :!Rreturn_or_enter]
[:##tab :!Rtab]
[:##escape :!Rescape]
[:##left_arrow :!Rleft_arrow]
[:##right_arrow :!Rright_arrow]
[:##up_arrow :!Rup_arrow]
[:##down_arrow :!Rdown_arrow]
[:##spacebar :!Rspacebar]
;mod-taps
[:##left_command :!Rreturn_or_enter]
[:##right_command :!Rdelete_or_backspace]
[:##right_option :!Rescape]
;;functions
[:##f1 :!Rf1]
[:##f2 :!Rf2]
[:##f3 :!Rf3]
[:##f4 :!Rf4]
[:##f5 :!Rf5]
[:##f6 :!Rf6]
[:##f7 :!Rf7]
[:##f8 :!Rf8]
[:##f9 :!Rf9]
[:##f10 :!Rf10]
[:##f11 :!Rf11]
[:##f12 :!Rf12]
[:##f13 :!Rf13]
[:##f14 :!Rf14]
[:##f15 :!Rf15]
[:##f16 :!Rf16]
[:##f17 :!Rf17]
[:##f18 :!Rf18]
[:##f19 :!Rf19]
[:##f20 :!Rf20]]}
{:des "Right Command to K" ;; SGAC
:rules [[:condi :!a-mode :!s-mode :!d-mode :!f-mode :!j-mode :k-mode :!l-mode :!semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
[:##j :right_shift]
;;[:##k :right_command]
[:##l :right_option]
[:##semicolon :right_control]
;; qwerty 30x grid
; top-row
[:##q :!Qq]
[:##w :!Qw]
[:##e :!Qe]
[:##r :!Qr]
[:##t :!Qt]
[:##y :!Qy]
[:##u :!Qu]
[:##i :!Qi]
[:##o :!Qo]
[:##p :!Qp]
; home-row
[:##a :!Qa]
[:##s :!Qs]
[:##d :!Qd]
[:##f :!Qf]
[:##g :!Qg]
[:##h :!Qh]
[:##j :!Qj]
;;[:##k :!Qk]
[:##l :!Ql]
[:##semicolon :!Qsemicolon]
;botton row
[:##z :!Qz]
[:##x :!Qx]
[:##c :!Qc]
[:##v :!Qv]
[:##b :!Qb]
[:##n :!Qn]
[:##m :!Qm]
[:##comma :!Qcomma]
[:##period :!Qperiod]
[:##slash :!Qslash]
;; number row
[:##1 :!Q1]
[:##2 :!Q2]
[:##3 :!Q3]
[:##4 :!Q4]
[:##5 :!Q5]
[:##6 :!Q6]
[:##7 :!Q7]
[:##8 :!Q8]
[:##9 :!Q9]
[:##0 :!Q0]
;; other keys
[:##hyphen :!Qhyphen]
[:##equal_sign :!Qequal_sign]
[:##backslash :!Qbackslash]
[:##open_bracket :!Qopen_bracket]
[:##close_bracket :!Qclose_bracket]
[:##delete_or_backspace :!Qdelete_or_backspace]
[:##grave_accent_and_tilde :!Qgrave_accent_and_tilde]
[:##quote :!Qquote]
[:##return_or_enter :!Qreturn_or_enter]
[:##tab :!Qtab]
[:##escape :!Qescape]
[:##left_arrow :!Qleft_arrow]
[:##right_arrow :!Qright_arrow]
[:##up_arrow :!Qup_arrow]
[:##down_arrow :!Qdown_arrow]
[:##spacebar :!Qspacebar]
;mod-taps
[:##left_command :!Qreturn_or_enter]
[:##right_command :!Qdelete_or_backspace]
[:##right_option :!Qescape]
;;functions
[:##f1 :!Qf1]
[:##f2 :!Qf2]
[:##f3 :!Qf3]
[:##f4 :!Qf4]
[:##f5 :!Qf5]
[:##f6 :!Qf6]
[:##f7 :!Qf7]
[:##f8 :!Qf8]
[:##f9 :!Qf9]
[:##f10 :!Qf10]
[:##f11 :!Qf11]
[:##f12 :!Qf12]
[:##f13 :!Qf13]
[:##f14 :!Qf14]
[:##f15 :!Qf15]
[:##f16 :!Qf16]
[:##f17 :!Qf17]
[:##f18 :!Qf18]
[:##f19 :!Qf19]
[:##f20 :!Qf20]]}
{:des "Right Option/Alt to L" ;; SGAC
:rules [[:condi :!a-mode :!s-mode :!d-mode :!f-mode :!j-mode :!k-mode :l-mode :!semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
[:##j :right_shift]
[:##k :right_command]
;; [:##l :left_option]
[:##semicolon :right_control]
;; qwerty 30x grid
; top-row
[:##q :!Eq]
[:##w :!Ew]
[:##e :!Ee]
[:##r :!Er]
[:##t :!Et]
[:##y :!Ey]
[:##u :!Eu]
[:##i :!Ei]
[:##o :!Eo]
[:##p :!Ep]
; home-row
[:##a :!Ea]
[:##s :!Es]
[:##d :!Ed]
[:##f :!Ef]
[:##g :!Eg]
[:##h :!Eh]
[:##j :!Ej]
[:##k :!Ek]
;; [:##l :!El]
[:##semicolon :!Esemicolon]
;botton row
[:##z :!Ez]
[:##x :!Ex]
[:##c :!Ec]
[:##v :!Ev]
[:##b :!Eb]
[:##n :!En]
[:##m :!Em]
[:##comma :!Ecomma]
[:##period :!Eperiod]
[:##slash :!Eslash]
;; number row
[:##1 :!E1]
[:##2 :!E2]
[:##3 :!E3]
[:##4 :!E4]
[:##5 :!E5]
[:##6 :!E6]
[:##7 :!E7]
[:##8 :!E8]
[:##9 :!E9]
[:##0 :!E0]
;; other keys
[:##hyphen :!Ehyphen]
[:##equal_sign :!Eequal_sign]
[:##backslash :!Ebackslash]
[:##open_bracket :!Eopen_bracket]
[:##close_bracket :!Eclose_bracket]
[:##delete_or_backspace :!Edelete_or_backspace]
[:##grave_accent_and_tilde :!Egrave_accent_and_tilde]
[:##quote :!Equote]
[:##return_or_enter :!Ereturn_or_enter]
[:##tab :!Etab]
[:##escape :!Eescape]
[:##left_arrow :!Eleft_arrow]
[:##right_arrow :!Eright_arrow]
[:##up_arrow :!Eup_arrow]
[:##down_arrow :!Edown_arrow]
[:##spacebar :!Espacebar]
;; mod-taps
[:##left_command :!Ereturn_or_enter]
[:##right_command :!Edelete_or_backspace]
[:##right_option :!Eescape]
;;functions
[:##f1 :!Ef1]
[:##f2 :!Ef2]
[:##f3 :!Ef3]
[:##f4 :!Ef4]
[:##f5 :!Ef5]
[:##f6 :!Ef6]
[:##f7 :!Ef7]
[:##f8 :!Ef8]
[:##f9 :!Ef9]
[:##f10 :!Ef10]
[:##f11 :!Ef11]
[:##f12 :!Ef12]
[:##f13 :!Ef13]
[:##f14 :!Ef14]
[:##f15 :!Ef15]
[:##f16 :!Ef16]
[:##f17 :!Ef17]
[:##f18 :!Ef18]
[:##f19 :!Ef19]
[:##f20 :!Ef20]]}
{:des "Right Control to ;" ;; SGAC
:rules [[:condi :!a-mode :!s-mode :!d-mode :!f-mode :!j-mode :!k-mode :!l-mode :semicolon-mode :!q-mode :!m-mode :!e-mode :!w-mode :!nav_layer]
;; home row mods CAGS layout
[:##j :right_shift]
[:##k :right_command]
[:##l :right_option]
;;[:##semicolon :right_control]
;; qwerty 30x grid
; top-row
[:##q :!Wq]
[:##w :!Ww]
[:##e :!We]
[:##r :!Wr]
[:##t :!Wt]
[:##y :!Wy]
[:##u :!Wu]
[:##i :!Wi]
[:##o :!Wo]
[:##p :!Wp]
; home-row
[:##a :!Wa]
[:##s :!Ws]
[:##d :!Wd]
[:##f :!Wf]
[:##g :!Wg]
[:##h :!Wh]
[:##j :!Wj]
[:##k :!Wk]
[:##l :!Wl]
;; [:##semicolon :!Wsemicolon]
;botton row
[:##z :!Wz]
[:##x :!Wx]
[:##c :!Wc]
[:##v :!Wv]
[:##b :!Wb]
[:##n :!Wn]
[:##m :!Wm]
[:##comma :!Wcomma]
[:##period :!Wperiod]
[:##slash :!Wslash]
;; number row
[:##1 :!W1]
[:##2 :!W2]
[:##3 :!W3]
[:##4 :!W4]
[:##5 :!W5]
[:##6 :!W6]
[:##7 :!W7]
[:##8 :!W8]
[:##9 :!W9]
[:##0 :!W0]
;; other keys
[:##hyphen :!Whyphen]
[:##equal_sign :!Wequal_sign]
[:##backslash :!Wbackslash]
[:##open_bracket :!Wopen_bracket]
[:##close_bracket :!Wclose_bracket]
[:##delete_or_backspace :!Wdelete_or_backspace]
[:##grave_accent_and_tilde :!Wgrave_accent_and_tilde]
[:##quote :!Wquote]
[:##return_or_enter :!Wreturn_or_enter]
[:##tab :!Wtab]
[:##escape :!Wescape]
[:##left_arrow :!Wleft_arrow]
[:##right_arrow :!Wright_arrow]
[:##up_arrow :!Wup_arrow]
[:##down_arrow :!Wdown_arrow]
[:##spacebar :!Wspacebar]
;mod-taps
[:##left_command :!Wreturn_or_enter]
[:##right_command :!Wdelete_or_backspace]
[:##right_option :!Wescape]
;;functions
[:##f1 :!Wf1]
[:##f2 :!Wf2]
[:##f3 :!Wf3]
[:##f4 :!Wf4]
[:##f5 :!Wf5]
[:##f6 :!Wf6]
[:##f7 :!Wf7]
[:##f8 :!Wf8]
[:##f9 :!Wf9]
[:##f10 :!Wf10]
[:##f11 :!Wf11]
[:##f12 :!Wf12]
[:##f13 :!Wf13]
[:##f14 :!Wf14]
[:##f15 :!Wf15]
[:##f16 :!Wf16]
[:##f17 :!Wf17]
[:##f18 :!Wf18]
[:##f19 :!Wf19]
[:##f20 :!Wf20]]}
]}