-
-
Notifications
You must be signed in to change notification settings - Fork 843
/
Copy pathkarabiner.edn
1423 lines (1423 loc) · 79.3 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
997
998
999
1000
{:profiles
{:goku {:default true
:alone 80 ; hold for .. ms to register single tap
:held 50 ; TODO: not sure what it's for
:delay 0 ; time after which the key press is delayed
:sim 30}} ; keys need to be pressed within this threshold to be considered simultaneous
:templates {
:alfred "osascript -e 'tell application id \"com.runningwithcrayons.Alfred\" to run trigger \"%s\" in workflow \"%s\" with argument \"%s\"'"
:km "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\"'"
:raycast "open -g \"raycast://extensions/%s\""
:open "open \"%s\""
:open-g "open -g \"%s\""
:shell "%s"
}
:simlayers {
:2-mode {:key :2}
:3-mode {:key :3}
:4-mode {:key :4}
:tab-mode {:key :tab}
:q-mode {:key :q}
:w-mode {:key :w}
:e-mode {:key :e}
:r-mode {:key :r}
:t-mode {:key :t}
:i-mode {:key :i}
:o-mode {:key :o}
:p-mode {:key :p}
:a-mode {:key :a}
:s-mode {:key :s}
:d-mode {:key :d}
:f-mode {:key :f}
:g-mode {:key :g}
:semicolon-mode {:key :semicolon}
:escape-mode {:key :escape}
;:backslash {:key :backslash} TODO: for future
:tilde-mode {:key :grave_accent_and_tilde}
:z-mode {:key :z}
;:x-mode {:key :x}
:c-mode {:key :c}
:v-mode {:key :v}
:b-mode {:key :b}
:n-mode {:key :n}
:m-mode {:key :m}
:comma-mode {:key :comma}
:dot-mode {:key :period}
:spacebar-mode {:key :spacebar}
:ts-mode {:key :period :condi ["in-ts" 1]}
:rust-mode {:key :period :condi ["in-rust" 1]}
:swift-mode {:key :period :condi ["in-swift" 1]}
:go-mode {:key :period :condi ["in-go" 1]}
:py-mode {:key :period :condi ["in-python" 1]}
}
:main [
{:des "colonkey (shift)"
:rules [:semicolon-mode
[:1 :!T1]
[:2 :!T2]
[:3 :!T3]
[:4 :!T4]
[:5 :!T5]
[:6 :!T6]
[:7 :!T7]
[:tab [:km "open: Anybox"]]
[:escape [:km "switch between windows of same app (or switch to another app if no more than 1 window)"]]
[:grave_accent_and_tilde :!Tspacebar] ; contexts window search (only cursor)
[:left_command [:km "cursor: docs."]]
;[:left_command [:km "open: Learn Anything"]]
[:q :!Sq]
[:w :!Sw]
[:e :!Se]
[:r :!Sr]
[:t :!St]
[:y :!Sy]
[:u :!Su]
[:i :!Si]
[:o :!So]
[:p :!Sp]
[:a :!Sa]
[:s :!Ss]
[:d :!Sd]
[:f :!Sf]
[:g :!Sg]
[:h :!Sh]
[:j :!Sj]
[:k :!Sk]
[:l :!Sl]
[:z :!Sz]
[:x :!Sx]
[:c :!Sc]
[:v :!Sv]
[:b :!Sb]
[:n :!Sn]
[:spacebar [:km "open: Reflect"]]
[:m :!Sm]
]}
;[:spacebar [:km "open: Learn Anything"]]
;[:tab [:km "better (selection)"]] ; TODO: move it to cursor
;[:escape [:km "Cursor = Open sublime merge to commit current project | All = Homerow"]] ; TODO: bind smth nicer
; TODO: have auto commit somewhere here with nice commits
; TODO: LA capture, maybe map to f key. f+j or smth (universal)
;[:grave_accent_and_tilde [:km "Cursor = commit all | All = clone open repo and open in Cursor"]] ; TODO: fix up
;[:grave_accent_and_tilde [:km "cursor: do"]]
;[:grave_accent_and_tilde [:!Sgrave_accent_and_tilde]] ; -> ~
;[:spacebar :!SCspacebar] ; Homerow search
;[:escape :!CTO4] ; Alfred file/text action
;[:tab [:km "lisa: autocomplete"]] ; TODO: make lisa work
;[:grave_accent_and_tilde :!Ospacebar] ; Switch language (Russian <-> English)
;[:tab [:km "Smart Autocomplete & new line"]]
;[:escape [:km "Smart Autocomplete"]]
;[:tab [:km ""]]
;[:escape [:km "get last error from ~/log/cmd.log + current file as context"]]
;[:escape [:km "get last error from ~/log/cmd.log + current file as context and paste into claude to fix"]]
;[:escape [:km "get last error from ~/log/cmd.log + current file as context and paste into chatgpt to fix"]]
{:des "skey (essential)"
:rules [:s-mode
[:w [:!Oleft_arrow :!OSright_arrow]] ; Highlight word
[:e :tab]
[:r :!Stab]
[:i [:km "Selected text -> Alfred Snippet"]]
[:o :!Cx] ; Cut
[:open_bracket [:km "Lowercase selected text"]]
[:close_bracket [:km "Uppercase selected text"]]
[:a :!Cc] ; Copy
[:d :delete_or_backspace]
[:f :return_or_enter]
[:g :!Ctab]
[:semicolon :!OS1] ; ChatGPT selected text
[:period [:km "Select word & move to Claude"]]
[:comma [:km "Select word & move to Claude (and run instantly)"]]
[:slash [:km "Select line & move to Claude"]]
[:##h :left_arrow]
[:##j :down_arrow]
[:##k :up_arrow]
[:##l :right_arrow]
[:t :!Sreturn_or_enter]
[:quote [:!Cleft_arrow :!CSright_arrow]] ; Highlight current line
[:c :!Cdelete_or_backspace]
[:v :left_shift]
[:##b :!Cleft_arrow]
[:n :!Cv] ; Paste
[:##m :!Cright_arrow]
]}
;[:semicolon [:km "Selected text to Claude"]]
; TODO: keybind for AI rewrite on selected text (raycast like prompt? maybe raycast has somthing as AI action)
;[:comma [:km "Show active todo"]]
;[:i [:km "Select word & jump to next occurance"]]
;[:i [:km "Select word & copy"]]
;[:u :!COp] ; Selection -> HasteBin link
;[:i :!CTperiod] ; Contexts search active windows ; TODO: maybe replace with alfred/raycast workflow to search active windows to jump to (similar to https://contexts.co)
;[:i [:km "Selected text -> Alfred Snippet"]]
;[:u :!COp] ; Selection -> HasteBin link
;[:i :!COp] ; Selection -> private GitHub gist (with url in clipboard) TODO:
;[:open_bracket :!Oleft_arrow]
;[:semicolon [:km "Autocomplete"]] ; TODO:
;[:semicolon [:km "New active todo"]] ; TODO: make LLM try to give hints on making this task, start processing it
;[:semicolon [:km "Selected text -> Alfred Snippet"]]
;[:##semicolon [:km "New active todo"]]
;[:semicolon :!CTO0] ; Search Alfred Snippets
;[:period :!COS0]]} ; TODO: bind to something nice
{:des "swap : and ;"
:rules [[:#Psemicolon :!Ssemicolon]
[:!Ssemicolon :semicolon]]}
; TODO: for some reason if you do it this way, caps lock doesn't always trigger.. makes it unuseable
; forced to use simple modification in karabiner GUI (caps_lock -> escape)
;{:des "caps (alone) -> escape"
;:rules [[:caps_lock ["caps-mode" 1] nil {:afterup ["caps-mode" 0] :alone :escape}]]}
;{:des "right cmd -> Alfred"
; :rules [[:right_command :right_command nil {:alone :!CTOSspacebar}]]}
;{:des "§ -> Karabiner on/off"
; :rules [[:non_us_backslash [:km "Karabiner on/off"]]]}
{:des "sim"
:rules [
[[:j :k] [:alfred "search google" "net.deanishe.alfred-searchio"]]
[[:j :l] :!CTOSspacebar] ; Alfred
[[:k :l] [:raycast "renfei_song/snippetslab/index"]]
[[:l :n] [:alfred "run" "iansinnott.keyboardmaestro"]]
[[:l :m] :!COS9] ; Raycast
[[:k :m] [:alfred "search youtube" "net.deanishe.alfred-searchio"]]
[[:k :n] [:km "open: Dash (with search)"]]
]}
;[[:j :semicolon] [:alfred "run" "iansinnott.keyboardmaestro"]]
;[[:l :n] :!TOSr] ; ScriptKit
;[[:j :semicolon] :!CSspacebar] ; Homerow ; TODO: check if it's useful
;[[:j :semicolon] [:km "Notion global search (in app)"]]
;[[:j :semicolon] [:km "Cursor = Open sublime merge to commit current project | All = Homerow"]] ; TODO: think it better
;[[:l :m] :!TOSt] ; Raycast AI quick chat
;[[:k :n] :!TOSu] ; Raycast AI window
;[[:j :semicolon] :!TOSw] ; Notion Command Search TODO: replace with LA global search (with same Notion like raycast window) (inline info!)
{:des "2key (move + alfred)"
:rules [:2-mode
[:j :!Cdown_arrow]
[:k :!Cup_arrow]
[:l :!Cright_arrow]
[:h :!Cleft_arrow]
[:semicolon :!Oup_arrow]
[:quote :!Odown_arrow]
[:spacebar :!COSu] ; Selection -> HN
]}
;[:o [:alfred "soulver" "app.soulver.alfredworkflow"]]
{:des "3key (open files + projects)"
:rules [:3-mode
[:semicolon [:km "proj: Wiki"]]
[:quote [:km "wiki: Summary"]]
[:n [:km "proj: Dotfiles"]]
[:m [:km "proj: Home"]]
[:comma [:km "edit: Now"]]
[:spacebar :!CSOp] ; Selection -> Reddit
]}
;[:j [:km "edit: Fish aliases"]]
;[:r [:km "proj: LA"]]
;[:i [:km "edit: Likes"]]
;[:o [:km "edit: Projects"]]
;[:t [:km "edit: Git config"]]
;[:g [:km "edit: gitignore global"]]
;[:h [:km "wiki: Used hotkeys"]]
;[:l [:km "Search current safari url in wiki"]]
{:des "4key (open curated lists)"
:rules [:4-mode
[:r [:km "edit: Web Searches"]]
[:t [:km "list: Newsletters"]]
[:o [:km "list: Blogs"]]
[:p [:km "list: Podcasts"]]
[:k [:km "list: Alfred workflows"]]
[:l [:km "list: Command line tools"]]
[:n [:km "list: Events"]]]}
{:des "tabkey (things)"
:rules [:tab-mode
[:3 [:km "Add/remove explore to focus workspace"]]
[:f [:km "Get time in SF"]]
[:t [:km "Save open tabs in safari"]]
; TODO: should be automated, i should never run these myself
[:j [[:open-g "dash-plugin://query=.tsprofile%3A&prevent_activation=true"] ["in-ts" 1] ["in-rust" 0] ["in-swift" 0] ["in-go" 0] ["in-python" 0]]] ; TS
[:n [[:open-g "dash-plugin://query=.rustprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 1] ["in-swift" 0] ["in-go" 0] ["in-python" 0]]] ; Rust
[:m [[:open "dash-plugin://query=.goprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 0] ["in-swift" 0] ["in-go" 1] ["in-python" 0]]] ; Go
[:period [[:open "dash-plugin://query=.pyprofile%3A&prevent_activation=true"] ["in-python" 1] ["in-go" 0] ["in-js" 0] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; Python
[:semicolon [[:open "dash-plugin://query=.swiftprofile%3A&prevent_activation=true"] ["in-ts" 0] ["in-rust" 0] ["in-swift" 1] ["in-go" 0] ["in-python" 0]]] ; Swift
[:s [:km "Open Dash and search docsets"]]
]}
;[:f [:km "Get time in SF"]]
{:des "qkey (cmd + shift)"
:rules [:q-mode
[:3 :!CS3]
[:4 :!CS4]
[:5 :!CS5]
[:6 :!CS6]
[:7 :!CS7]
[:8 :!CS8]
[:9 :!CS9]
[:0 :!CS0]
[:w :!CSw]
[:e :!CSe]
[:r :!CSr]
[:t :!CSt]
[:y :!CSy]
[:u :!CSu]
[:i :!CSi]
[:o :!CSo]
[:p :!CSp]
[:open_bracket :!CSopen_bracket]
[:close_bracket :!CSclose_bracket]
[:a :!CSa]
[:s :!CSs]
[:d :!CSd]
[:f :!CSf]
[:g :!CSg]
[:h :!CSh]
[:j :!CSj]
[:k :!CSk]
[:l :!CSl]
[:semicolon :!CSsemicolon]
[:quote :!CSquote]
[:z :!CSz]
[:x :!CSx]
[:c :!CSc]
[:v :!CSv]
[:b :!CSb]
[:n :!CSn]
[:m :!CSm]
[:comma :!CScomma]
[:period :!CSperiod]
[:slash :!CSslash]
[:spacebar :!CSOe]
]} ; Selection -> YouTube
;[:spacebar [:km "Explain selected text with ChatGPT or explain .."]]]} ; TODO: make it use my own tool, similar to https://superwhisper.com record window, select text, then stream explain selected text in window
;[:spacebar [:km "Selected text into Google Lucky search"]]]}
;[:spacebar [:km "Explain selected text"]]]} ; TODO: seems not needed, as there is e+spacebar
{:des "wkey (apps)"
:rules [:w-mode
[:e [:km "open: Linear"]]
[:r [:km "open: 1Password"]]
[:t [:km "open: Notion"]]
[:a [:km "open: Bike"]]
[:d [:km "open: SnippetsLab"]]
[:g [:km "open: Proxyman"]]
[:v [:km "open: Yaak"]]
[:o [:km "open: Keyboard Maestro"]]
[:escape [:km "open: Finder"]]
[:f [:km "open: Things"]] ; TODO: LA todos (separate app ideally) (show today calendar on right, same quality as Fantastical/Amie) (on left 2Do/Things/Linear/Ship like!)
[:j [:km "open: Warp"]]
[:k [:km "open: Safari"]]
[:l [:km "open: Cursor"]]
[:semicolon [:km "open: Xcode"]]
[:c [:km "open: Spotify"]]
[:slash [:km "open: Instruments"]]
[:b [:km "open: IntelliJ IDEA"]]
[:m [:km "open: GoLand"]]
[:i [:km "open: RustRover"]]
[:h [:km "open: Ghostty"]] ; TODO: using it for daemons for now, there should be better way with flox (but it's coming in future only)
[:n [:km "open: PyCharm"]]
[:comma [:km "open: Zed"]]
[:period [:km "open: Sublime Merge"]]
[:left_command [:km "open: System Settings"]]
[:spacebar [:km "open: Fantastical"]]
]}
;[:comma [:km "open: JuxtaCode"]]
;[:i [:km "open: Zen Browser"]]
;[:d [:km "open: dbx"]] ; TODO: bind key #now
;[:a [:km "open: GitButler"]]
;[:a [:km "open: Learn Anything"]] ; TODO: for now web, later map to desktop app
;[:t [:km "open: Voice Memos"]]
;[:b [:km "open: BetterTouchTool"]]
;[:t [:km "open: Passwords"]]
;[:d [:km "open: SolBond"]]
;[:g [:km "open: genx"]]
;[:t [:km "open: JuxtaText"]]
;[:g [:km "open: Pathfinder"]]
;[:t [:km "open: Color Picker"]]
;[:i [:km "open: Yaak"]]
;[:semicolon [:km "open: Xcode Beta (but not xcode test project)"]]
;[:n [:km "Open Xcode personal"]]
;[:n :!OC9] ; open 2nd mac space with Xcode + Terminal
;[:d [:km "open: Anytype"]]
;[:semicolon [:km "open: Xcode"]]
;[:l [:km "open: Cursor main window"]]
;[:semicolon [:km "open: Cursor (but not main window)"]]
;[:d [:km "open: System Settings"]]
;[:i [:km "open: Hoppscotch"]]
;[:period [:km "open: Bruno"]]
;[:period [:km "open: Xcode"]]
;[:period [:km "open: Xcode (beta)"]]
;[:n [:km "open: Learn Anything (prefer dev)"]]
;[:t [:km "open: Pitch"]]
;[:t [:km "open: 2Do"]]
;[:v [:km "open: Obsidian"]] ; LA (everything but todos/calendar)
;[:a [:km "open: Obsidian (first tab focus)"]]
;[:r [:km "open: Spacedrive"]]
;[:t [:km "open: Activity Monitor"]]
;[:i [:km "open: Dropcode"]]
;[:i [:km "open: OBS"]]
;[:i [:km "open: Learn Anything"]]
;[:u [:km "open: Bruno"]]
;[:i [:km "open: Hoppscotch"]]
;[:period [:km "open: Zed"]]
;[:p [:km "open wip.md with Cursor Nightly"]]
;[:r [:km "open: Things"]]
;[:g [:km "open: Keynote"]]
;[:d [:km "open: Music"]]
;[:d [:km "open: Day One"]]
;[:g [:km "Journal"]] ; TODO: complete to use LA
;[:h [:km "open: Notes"]]
;[:f [:km "open: Learn Anything"]]
;[:d [:km "open: Postico"]]
;[:d [:km "open: TablePlus"]]
;[:d [:km "open: Beekeepr Studio Ultimate"]]
;[:g [:km "open: KusKus"]]
;[:g [:km "open: Height"]]
;[:h [:km "open: Things"]]
;[:semicolon [:km "open: Cursor"]]
;[:quote [:km "Open src.code-workspace and learn-anything.code-workspace"]]
;[:quote [:km "Open learn-anything.code-workspace"]]
;[:v [:km "open: TablePlus"]]
;[:v [:km "open: RapidAPI"]]
;[:spacebar [:km "open: TablePlus"]]]}
;[:spacebar [:km "open: Dash"]]]}
;[:spacebar [:km "open: Beekeepr Studio Ultimate"]]]}
;[:period [:km "open: Commander One"]]
;[:spacebar :!CT7]]} ; Start Google search with selection
;[:spacebar [:km "open: Learn Anything"]]]}
;[:spacebar [:km "Explain with ChatGPT"]]]}
;[:spacebar [:km "open: Zen"]]]}
;[:spacebar [:km "Explain with Ask"]]]}
{:des "ekey (cmd)"
:rules [:e-mode
[:q :!Cq]
[:w :!Cw]
[:r :!Cr]
[:t :!Ct]
[:u :!Cu]
[:i :!Ci]
[:p :!Cp]
[:open_bracket :!Copen_bracket]
[:close_bracket :!Cclose_bracket]
[:semicolon :!Csemicolon]
[:quote :!Cquote]
[:comma :!Ccomma]
[:period :!Cperiod]
[:slash :!Cslash]
[:a :!Ca]
[:b :!Cb]
[:c :!Cc]
[:d :!Cd]
[:f :!Cf]
[:g :!Cg]
[:h :!Ch]
[:j :!Cj]
[:k :!Ck]
[:l :!Cl]
[:m :!Cm]
[:n :!Cn]
[:o :!Co]
[:s :!Cs]
[:v :!Cv]
[:x :!Cx]
[:y :!Cy]
[:z :!Cz]
[:1 :!C1]
[:2 :!C2]
[:3 :!C3]
[:4 :!C4]
[:5 :!C5]
[:6 :!C6]
[:7 :!C7]
[:8 :!C8]
[:9 :!C9]
[:0 :!C0]
[:spacebar :!COequal_sign] ; 1Focus
]}
;[:spacebar :!TO2] ; TODO: 1Focus explain selected text (if text is selected, otherwise do area selection)
;[:spacebar [:km "Selected text to Claude (run instantly)"]] ; TODO: move to something else (separate window, 0 context to explain things fast, overlay window ideally) (bind that to 1focus explain)
;[:spacebar :!CSO7]]} ; Selection -> Google Lucky TODO: no work..
;[:spacebar [:km "Explain selected text (or open Claude Explain)"]]]}
;[:spacebar [:km "Explain selected text (or open ChatGPT Explain)"]]]}
;[:spacebar [:km "Explain selected text (or explain selected image)"]]]}
{:des "rkey (apps)"
:rules [:r-mode
[:tab [:km "open: Transmission"]]
[:i [:km "open: Obsidian"]]
[:o [:km "open: OrbStack"]]
[:w [:km "open: IINA"]]
[:a [:km "open: Alfred Preferences"]]
[:b [:km "Edit keyboard shortcuts"]]
[:j [:km "open: Preview"]]
[:k [:km "open: Reader"]]
[:l [:km "open: Dictionary"]]
[:i [:km "open: Feedback Assistant"]]
[:n [:km "open: System Settings: Network"]]
[:m [:km "open: MacUpdater"]]
[:semicolon [:km "open: Notes"]]
[:spacebar [:km "Screenshot into ChatGPT"]]
]}
;[:l [:km "Open Reader with Nightly TS- workspace split 50/50"]]
;[:comma [:km "open: Arq"]]
;[:semicolon [:km "open: Day One"]]
;[:semicolon [:km "open: Crouton"]]
;[:l [:km "open: Books"]]
;[:k [:km "open: PDF Expert"]]
;[:l [:km "open: Reeder"]]
;[:n [:km "open: ScreenFlow"]]
;[:m [:km "open: Music"]]
;[:period [:km "open: Final Cut Pro"]]
;[:spacebar :!COSx]]} ; Selection -> Reddit
;[:e [:km "open: Keynote"]]
;[:i [:km "open: Flume"]]
;[:o [:km "open: Developer"]]
;[:i [:km "open: NetNewsWire"]]
;[:escape [:km "open: Preview"]]
;[:spacebar [:km "Copied image into ChatGPT"]]]}
{:des "tkey (sites + tests)"
:rules [:t-mode
[:l [:km "open: Haptic"]]
[:semicolon [:km "open: Supernotes"]]
[:spacebar :!CTOSi] ; Loom cancel record
]}
;[:0 [:km "w: regex101"]]
;[:e [:km "w: Facebook"]]
;[:n [:km "w: Facebook"]]
;[:u [:km "w: Medium"]]
;[:i [:km "w: Arxiv"]]
;[:o [:km "w: Stack Overflow"]]
;[:p [:km "w: Dropbox"]]
;[:a [:km "w: Amazon"]]
;[:h [:km "w: Twitch"]]
;[:k [:km "Get link (Safari Technology Preview)"]]
;[:j :!COSo] ; Safari URL -> Twitter
;[:j :!COSo] ; Safari URL -> Google
;[:k :!COSo] ; Safari URL -> HN
;[:l :!COSo] ; Safari URL -> Lobsters
;[:semicolon [:km "w: Netlify"]]
;[:z [:km "w: MDN"]]
;[:b [:km "w: Observable"]]
;[:m [:km "w: Meetup"]]
;[:comma [:km "w: Google Drive"]]
;[:period [:km "w: IFTTT"]]
;[:spacebar :!COSr]]} ; Selection -> Google Translate
{:des "ikey (symbols)"
:rules [:i-mode
[:1 :!S1]
[:2 :!S2]
[:3 :!Sequal_sign]
[:4 :!S8]
[:w :!S9]
[:e :!S3]
[:q :!Sopen_bracket]
[:escape :!Sopen_bracket]
[:left_command [:km "explain (selection, or paste)"]] ; TODO: bind that to global 1focus explain
[:r :!Squote]
[:t :quote]
[:o :open_bracket] ; [
[:p :close_bracket] ; ]
[:open_bracket :!Sclose_bracket] ; }
[:a :slash]
[:s :!Shyphen]
[:d :backslash]
[:f :hyphen]
[:g :!S4]
[:h [:km "paste: €"]]
[:j :equal_sign]
[:l [:hyphen :!Speriod :spacebar]] ; -> arrow (->)
[:semicolon :semicolon]
[:grave_accent_and_tilde :!Sgrave_accent_and_tilde] ; -> //
[:z :!Sslash]
[:x :!Sbackslash]
[:c :!S7]
[:v :!Scomma]
[:b [:slash :slash :spacebar]] ; -> //
]}
;[:3 :!S5]
;[:4 :!S8]
;[:left_command [:km "paste: ⌘"]]
;[:left_option [:km "paste: ⌥"]]
;[:left_control [:km "paste: ⌃"]]
;[:left_shift [:km "paste: ⇧"]]
;[:fn [:km "paste: ⇧"]]
;[:caps_lock [:km "Match symbols"]] ; TODO: check if works well
{:des "okey (alfred)"
:rules [:o-mode
[:1 :!C1]
[:2 :!C2]
[:3 :!C3]
[:4 :!C4]
[:5 :!C5]
[:6 :!C6]
[:i [:km "open: EdgeDB Cloud"]]
[:j [:km "open: Axiom"]]
[:h [:km "open: SQLiteFlow"]]
[:e [:km "open: Repo Prompt"]]
[:r [:km "open: AlexSideBar"]]
[:tab [:km "open: AI Studio"]]
[:escape [:km "open: Railway"]]
;[:q [:km "open: Expo"]]
[:q [:km "open: Console"]]
[:w [:km "open: Vercel"]]
[:d [:km "open: Cloudflare"]]
[:a [:km "open: Ronin"]]
[:c [:alfred "search emoji" "com.github.jsumners.alfred-emoji"]]
[:s [:alfred "search downloads" "recentdownloads.ddjfreedom"]]
[:f [:km "open: ChatGPT"]]
[:g [:km "open: Perplexity"]]
[:k [:alfred "search menu bar" "com.tedwise.menubarsearch"]]
[:x [:alfred "search workflows" "org.jeef.workflowdirectory"]]
; TODO: improve
[:grave_accent_and_tilde [:alfred "search clones and forks" "com.vitorgalvao.alfred.directories", "__"]] ; `=` makes it filter out for clones only TODO: find better way to do this, custom workflow, fast
[:v [:km "open: Grok"]]
[:spacebar [:km "open: Claude"]]
]}
;[:r [:km "open: Sentry"]]
;[:n [:km "open: Sourcegraph"]]
;[:m [:km "open: Grep"]]
;[:tab [:km "open: Clerk"]]
;[:b [:alfred "search forks" "com.vitorgalvao.alfred.directories"]]
;[:v [:alfred "search clones and forks" "com.vitorgalvao.alfred.directories"]]
;[:grave_accent_and_tilde [:km "activate GitHub search in Arc (repos)"]]
;[:z [:alfred "search forks" "com.vitorgalvao.alfred.directories"]]
;[:escape [:km "open: Membrane"]] ; TODO: move
;[:g [:km "open: AWS"]]
;[:escape [:km "open: Google Cloud"]]
;[:grave_accent_and_tilde [:km "activate GitHub search in Arc (code)"]] ; TODO: bind it too, with grep, find use for both
;[:grave_accent_and_tilde [:km "open: Modal"]] ; TODO: bind
;[:left_command [:km "open: Claude 2"]] ; TODO: make use of this
;[:r [:km "open: Yandex Cloud"]]
; TODO: map i to sentry or honeycomb or axiom..
;[:j [:km "open: Sentry"]] ; TODO: enable back
;[:n :!CTOS9] ; search npm packages TODO: useful, make work
;[:d [:km "open: Preview"]]
;[:j [:km "open: PostHog"]]
;[:j [:km "open: Honeycomb"]]
;[:escape [:km "open: Google Cloud"]]
;[:z :!TCspacebar] ; macOS Emoji Picker
;[:i [:km "open: Stripe"]]
;[:i [:km "open: OpenAI Platform"]]
;[:s [:alfred "search files" "nikivi.manage.notes"]] ; TODO: (make it open in obsidian)
;[:semicolon [:km "open: ChatGPT 2"]]
;[:s [:alfred "search folders" "nikivi.search.folders"]]
;[:g [:km "open: Grafbase"]]
;[:grave_accent_and_tilde [:alfred "search processes" "com.vitorgalvao.alfred.processcontrol"]]
;[:escape [:km "1Password Search"]]
;[:e [:km "open: Cloudflare"]]
;[:e [:km "open: Typefully"]]
;[:e [:km "Make 2Do task"]]
;[:r [:km "Make 2Do task with note as current URL"]]
;[:t [:km "Make 2Do task with Safari title as name + note as current URL"]]
;[:i [:alfred "search alfred" "nikivi.utilities" "?"]]
;[:i [:km "open: Dash (with search)"]]
;[:caps_lock [:alfred "search desktop" "com.vitorgalvao.alfred.directories"]]
;[:s [:alfred "search code" "nikivi.manage.notes"]]
;[:d [:alfred "search repos" "net.deanishe.alfred-git-repos"]]
;[:g [:km "2Do with current url as note (github)"]]
;[:j [:alfred "search dash" "com.kapeli.dash.workflow"]]
;[:j [:km "open: SnippetsLab"]]
;[:j [:km "open: Typefully"]]
;[:b [:km "Add 2Do with current url as note (github)"]]
;[:n [:alfred "search lists" "nikivi.learn.anything"]]
;[:m [:alfred "search lists" "nikivi.awesome.lists"]]
;[:spacebar [:alfred "search PDFs" "nikivi.search.files"]]]}
;[:w :!CObackslash] ; 1Password search
;[:w :!CObackslash] ; 1Password search
;[:e [:km "Make 2Do task"]]
;[:w [:km "open: Cloudflare Dashboard"]]
;[:w [:km "open: Dash (search off)"]]
;[:e [:km "open: Dash (with search)"]]
;[:e [:km "open: ChatGPT GPTs"]]
;[:w [:km "open: Gemini"]]
;[:q [:alfred "search" "com.renfei.SnippetsLab.AlfredWorkflow"]]
;[:spacebar [:km "open: Ask"]]]}
{:des "pkey (paste)"
:rules [:p-mode
[:d [:km "paste: delete"]]
[:spacebar [:km "test"]] ; TODO:
]}
;; TODO: not used, move it to other keys, whatever is useful
;{:des ".."
;:rules [:caps-mode
;[:s [:km "paste: ✨"]]
;[:j [:km "paste: Thanks ♥️"]]
;[:n [:!Sn :i :k :i :t :a]] ; -> Nikita
;;[:period [:t :h :a :n :k :spacebar :y :o :u]] ; -> thank you
;[:period [:!St :h :a :n :k :spacebar :y :o :u :period :spacebar]] ; -> Thank you.
;[:u [:u :p :d :a :t :e :spacebar]] ; -> update
;[:p [:p :l :e :a :s :e :spacebar]] ; -> please
;;[:1 [:alfred "Screenshot -> Imgur" "com.vitorgalvao.alfred.webscreenshot"]]
;;[:2 :!TO2] ; Screenshot -> Clipboard
;;[:3 :!TO3] ; Screenshot -> Annotate
;;[:4 :!TO9] ; Picture of screen -> Clipboard
;;[:5 :!TO0] ; Picture of screen -> ~/Desktop
;;[:w [:km "wiki: My workflow"]]
;;[:e [:km "edit: Private notes"]]
;;[:r [:km "wiki: Rules"]]
;;[:t [:km "wiki: Processes"]]
;;[:u [:km "Open 2Do Buy"]]
;;[:i [:km "Open 2Do Fix"]]
;;[:o [:km "Open 2Do Tools"]]
;;[:p [:km "Open 2Do Repeat"]]
;;[:open_bracket [:km "w: Goodreads (currently reading)"]]
;;[:close_bracket [:km "w: Goodreads (next)"]]
;;[:s [:km "Open 2Do Wiki"]]
;;[:d [:open "notion://nikitavoloboev/Ideas-0b5a4e8a88f34fe29a1f33dad02e5332"]]
;;[:f [:km "Search 2Do"]]
;;[:g [:km "Open 2Do Life"]]
;;[:h [:open "notion://nikitavoloboev/Learn-05c0eac7be904e0da89cd8a3bf7ab509"]]
;;[:j [:km "Open 2Do Today"]]
;;[:k [:km "Open 2Do GitHub"]]
;;[:l [:km "Open 2Do Later"]]
;;[:semicolon [:km "Open 2Do Starred"]]
;;[:quote [:km "Open 2Do Other"]] ; TODO: remove once its empty
;;[:c [:km "Look back"]]
;;[:v [:km "wiki: Goals"]]
;;[:b [:open "notion://nikitavoloboev/Papers-Courses-8f00c7c500d5460490a5800c5d5db431"]]
;;[:n [:km "Open 2Do Clean"]]
;;[:m [:km "Open 2Do Work"]]
;;[:comma [:km "Open 2Do LA"]]
;[:semicolon [:km "paste: ♥️"]] ; -> ♥️
;[:period [:km "Open 2Do Recent"]]]}
{:des "akey (ctrl)"
:rules [:a-mode
[:2 :!T2]
[:3 :!T3]
[:4 :!T4]
[:5 :!T5]
[:6 :!T6]
[:7 :!T7]
[:8 :!T8]
[:9 :!T9]
[:0 :!T0]
[:q :!Tq]
[:w :!Tw]
[:e :!Te]
[:r :!Tr]
[:t :!Tt]
[:i :!Ti]
[:o :!To]
[:y :!Ty]
[:u :!Tu]
[:p :!Tp]
[:open_bracket :!Topen_bracket]
[:close_bracket :!Tclose_bracket]
[:s :!Ts]
[:d :!Td]
[:f :!Tf]
[:g :!Tg]
[:h :!Th]
[:j :!Tj]
[:k :!Tk]
[:l :!Tl]
[:semicolon :!Tsemicolon]
[:quote :!Tquote]
[:z :!Tz]
[:x :!Tx]
[:c :!Tc]
[:v :!Tv]
[:b :!Tb]
[:n :!Tn]
[:m :!Tm]
[:comma :!Tcomma]
[:period :!Tperiod]
[:slash :!Tslash]
[:spacebar :!CT9] ; Selection -> Google
]}
{:des "dkey (mouse)"
:rules [:d-mode
[:i :!Ckeypad_hyphen] ; Zoom out
[:o :!Ckeypad_plus] ; Zoom in
[:a [:!Cc :!Ctab]] ; Copy & activate previous app
[:j {:mkey {:vwheel 60}}] ; Scroll down
[:k {:mkey {:vwheel -60}}] ; Scroll up
[:l [:km "Google clipboard"]]
[:semicolon :!Tdown_arrow] ; Application Windows (system settings > keyboard > mission control)
[:quote [:km "Select line and google"]]
[:z {:pkey :button2}] ; Right click
[:v {:pkey :button1}] ; Left click
[:b {:pkey :button3}] ; Middle click
[:n [:km "Open URL in clipboard in Safari"]]
[:m [:km "Google Lucky selected word"]]
[:comma :!TOS1] ; Show Launchpad (system settings > keyboard > launchpad & dock)
[:period :!TOS2] ; Mission Control (system settings > keyboard > mission control)
[:spacebar :!CT8] ; Selection -> Dictionary (wiki)
]}
;[:semicolon [:km "Google Searchio selected word"]]
;[:l [:km "Google selected word"]]
;[:f :!CSspacebar] ; Homerow ; TODO: check if useful
{:des "fkey (essential)"
:rules [:f-mode
[:1 [:km "View Sip"]]
;[:q [:km "open: Framer"]]
[:q [:km "open: Figma Beta (FigJam)"]]
[:w [:km "open: Figma Beta"]]
[:e :!CO8] ; Alfred clipboard history search
[:r [:km "Centre mouse to active app"]]
[:a [:km "open: Chrome Canary"]]
[:s [:km "open: Arc"]]
[:h [:km "Make markdown link from selection {link}"]]
[:k [:km "New Linear task"]]
[:l [:alfred "active todo" "nikiv"]]
[:j :!TOCspacebar] ; Things Quick Entry (without context)
[:i [:km "clear active todo"]]
[:o [:km "Things: new top task"]]
[:left_command [:km "open: Photos"]]
[:escape [:km "open: Excalidraw"]]
[:grave_accent_and_tilde [:km "open: tldraw"]]
[:semicolon [:km "Things: new 2nd from top task"]]
[:period [:km "edit: Karabiner"]]
[:slash :!CTO4] ; Alfred file/text action
[:z :!Ospacebar] ; Switch language (Russian <-> English)
[:n :!TSspacebar] ; Things Quick Entry (with context) TODO: move to LA quick add
[:m [:km "Things: Quick Entry (with context) (into Someday)"]]
[:spacebar [:km "open: Eagle"]]
]}
;[:comma [:km "edit: Flox"]] ; TODO: fix, manifest?
;[:p :!CTOc] ; Sleep
;[:m [:km "Things: new today task at bottom"]]
;[:o [:km "open: v0"]]
;[:i [:km "open: bolt"]]
;[:open_bracket :!CT5] ; Turn display on/off
;[:m [:km "open: Midjourney"]]
;[:l [:km "open: Rive"]]
;[:l :!Creturn_or_enter] ; TODO: move it to nicer place
;[:n [:km "open: Play"]] ; TODO: use
; TODO: use lottie
;[:n [:km "open: Simulator"]]
;[:q [:km "open: Color Picker"]] ; TODO: start picker too fast
;[:comma [:km "Add safari link to selected markdown text"]] ; TODO: move to another key, s?
;[:z [:km "open: v0"]]
;[:i :!Treturn_or_enter]
;[:o :!Oreturn_or_enter]
;[:n :!Freturn_or_enter]
;[:m :!Sreturn_or_enter]
;[:n [:km "New Linear task"]]
;[:s :!TOSe] ; Start Superwhisper transcription
;[:j :!CSspacebar]
;[:period [:km "Things task (next in today)"]] ; TODO: make it top Things task. open Things and start writing task that will after `return` be on top
;[:tab [:km "open: Dingboard"]]
;[:grave_accent_and_tilde [:km "Test"]]
;[:s [:km "open: Learn Anything (dev)"]] ; TODO: focus on tauri windows in general, dev more tauri apps. or better focus on simulator if it's open or tauri window if that is open
;[:s :!TOS8] ; Move focus to status menus (show menu bar) (system settings > keyboard > keyboard)
;[:s :!TOSe] ; Start Superwhisper transcription
;[:s [:km "open: Spline"]]
;[:s [:km "open: Simulator"]]
;[:s [:km "open: Learn Anything (dev)"]] ; TODO: make it work on any tauri dev app (KusKus + future tauri dev apps)
;[:a [:km "open: Chrome Canary"]]
;[:s [:km "edit: 2nd Warp tab"]]
;[:escape [:km "open: Draw my UI"]]
;[:n :!STh] ; Record macro TODO: rebind it
;[:s [:!TOreturn_or_enter :!Cs]]
;[:s [:km "open: Eagle"]]
;[:d [:km "Save app state (Safari = top link, etc.)"]]
;[:j [:km "edit: 1st Warp tab"]]
;[:j [:!Sreturn_or_enter :!Cs]]
;[:j [:alfred "search" "com.renfei.SnippetsLab.AlfredWorkflow"]]
;[:j :!CTO0] ; Search Alfred Snippets
;[:j [:km "open: Learn Anything (dev)"]]
;[:semicolon [:km "open: Simulator"]]
;[:semicolon [:km "open: Learn Anything Web"]]
;[:semicolon [:km "New 2Do task"]] ; TODO: replace with nice native modal to do new todo. cmd+return on it moves it to `active todo` and tracks in LA Todo
;[:semicolon [:km "open: Learn Anything Web"]]
;[:semicolon [:escape :!Sa :semicolon :return_or_enter]]
;[:semicolon [:km "open: MindNode"]]
;[:semicolon [:km "New todo"]]
;[:semicolon [:km "Show active todo"]]
;[:quote [:km "Goku Run"]]
;[:quote [:km "edit: Fish functions and alias"]]
;[:semicolon :!Cgrave_accent_and_tilde] ; Switch between active windows (go down)
;[:semicolon [:km "Show active todo (clear todo and go to 2Do if activated again within 3 seconds)"]]
;[:comma [:km "edit: Fish Functions"]]
;[:spacebar :!CTq]]} ; Selection -> Web Searches
;[:escape :!CTOu] ; Sip color picker
;[:q [:km "open: Cosmos"]]
;[:s [:km "open: Excalidraw"]]
;[:q [:km "Clear active todo"]]
;[:q [:km "open: Midjourney"]]
;[:spacebar [:km "open: Eagle"]]]}
;[:spacebar [:km "Copy text to ChatGPT"]]]}
;[:spacebar [:km "Move selected text to Claude or select area screenshot to Claude"]]]}
;[:spacebar [:km "Move selected text to ChatGPT or select area screenshot to ChatGPT"]]]}
{:des "gkey (actions)"
:rules [:g-mode
[:w :!CSgrave_accent_and_tilde] ; Switch between active windows (go up)
[:caps_lock [:km "Go to KM group of current app from picklist"]]
[:a [:km "Go to KM group of current app"]]
[:s [:km "New KM global macro"]]
[:d [:km "Dismiss notifications"]]
[:h :!CSOa] ; Move window left
[:k :!COSf] ; Maximize window
[:l :!CSOd] ; Move window right
[:semicolon :!COSs] ; Move window between different screen & maximize
[:u :!TOS7] ; Move focus to the Dock (system settings > keyboard > keyboard)
[:i :!TOS6] ; Move focus to the menu bar (system settings > keyboard > keyboard)
[:o :!CSslash] ; Search menu bar (can also jump around menu bar items after with left/right arrow)
[:n :!TOS4] ; Turn Do Not Disturb on/off (system settings > keyboard > mission control)
[:m :!TOS3] ; Show Notification Centre (system settings > keyboard > mission control)
[:comma :!TOS5] ; Show Desktop (system settings > keyboard > mission control)
[:quote :!COS6] ; Toggle Night Shift on/off.
]}
;[:q :!CT3] ; Search bartender menu items
;[:j [:km "New KM global macro"]] ; TODO: create global macro from Test (clear test, focus on naming new macro) (maybe, don't use `Test` any more as much)
;[:j :!Cgrave_accent_and_tilde] ; Switch between active windows (go down)
;[:j [:km "New open app's macro"]] ; TODO: macro that will start a new macro in currently open app KM group
;[:semicolon :!COSs] ; Move window to right desktop
;[:z :!CO0] ; Show Dropzone dropdown
{:des "capskey (paste)"
:rules [:escape-mode
[:w [:km "paste: personal nikita.vo@ email"]]
[:e [:km "paste: personal nikita@ email"]]
[:r [:km "paste: 🙏"]]
[:s [:km "paste: ✨"]]
[:j [:km "paste: Thanks 🖤"]]
[:k [:km "paste: That worked 🖤"]]
[:l [:km "paste: Cal.com (15 min)️"]]
[:m [:km "paste: Cal.com (30 min)️"]]
[:c [:km "paste: 😿"]]
[:v [:km "paste: 👋"]]
[:h [:km "paste: 😺"]]
[:semicolon [:km "paste: 🖤"]]
[:g [:km "paste: Telegram (personal)️"]]
[:n [:km "paste: nikitavoloboev"]]
[:u [:km "paste: update"]]
[:p [:km "paste: please"]]
[:spacebar [:km "Test"]]
[:left_command [:km "Go to test macro"]]
]}
;[:spacebar [:km "Screenshot into ChatGPT and explain"]]
;[:j [:km "paste: Thanks ♥️"]]
;[:j [:km "paste: thanks"]]
;[:k [:km "paste: Thank you."]]
;[:period [:km "paste: that worked 🖤"]]
;[:n [:km "paste: Nikita"]]
;[:spacebar [:km "Selected text into Google Lucky search"]]]}
{:des "tilkey (project/code switches + km)"
:rules [:tilde-mode
[:w [:km "cursor: nikiv-base."]]
[:e [:km "cursor: test!"]] ; TODO: instead of activating `search test code-workspace` when already on _test, it should search existing _test instances or open new ones in one alfred search
[:r [:km "cursor: try."]] ; TODO: improve, do similar like _new workspace. make work well. for new projects maybe? or bind smth good for this
[:y [:km "cursor: odin."]]
[:u [:km "cursor: zig."]]
[:b [:km "cursor: moonbit."]]
[:n [:km "cursor: py."]]
[:t [:km "cursor: notlost."]]
[:k [:km "cursor: solbond."]]
[:h [:km "cursor: gridchess."]]
[:j [:km "cursor: ts."]]
[:f [:km "cursor: projects+"]]
[:l [:km "cursor: la."]]
[:semicolon [:km "cursor: swift."]]
[:m [:km "cursor: go."]]
[:i [:km "cursor: rust."]]
[:v [:km "cursor: 1focus."]]
[:c [:km "cursor: config."]]
[:g [:km "cursor: gpton."]]
[:o [:km "cursor: clones/forks"]]
[:spacebar [:km "cursor: alfred-raycast."]]
[:comma [:km "cursor: nix."]]
[:period [:km "cursor: x."]]
[:s [:km "cursor: _new"]]
[:d [:km "cursor: other"]] ; TODO: similar to clones (but switch to `non-clones` and `non-workspaces` (with `.`)) (should be other/clones/forks cycle)
]}
;[:g [:km "cursor: gen."]]
;[:b [:km "cursor: kotlin."]]
;[:i [:km "cursor: scala."]]
;[:o [:km "cursor: clones"]] ; TODO: make it robust, so it switches to last clone you went to always (sqlite store etc.)
;[:r [:!Tspacebar :!S3]] ; search cursor windows with `#` TODO: change with custom search workflow
;[:b [:km "cursor: odin."]]
;[:a [:km "cursor: raycast."]]
;[:r [:km "cursor: alfred."]]
;[:comma [:km "cursor: zig."]]
;[:r [:!Tspacebar :!S3]] ; search cursor windows with `#`
;[:t [:alfred "search all code-workspace" "nikiv", " "]]
;[:h [:km "cursor: deno#"]] ; move it to ts. maybe
;[:r [:alfred "search test code-workspace" "nikiv", " "]] ; TODO: there should be no need for this, remove
;[:b [:km "cursor: odin."]]
;[:s [:km "cursor: data."]]
;[:v [:km "cursor: projects"]] ; TODO: for now hard opens 1focus, make it smarter, do search over things
;[:g [:km "cursor: odin."]]
;[:r [:km "cursor: past (past month)"]] ; TODO: do (see how useful, maybe best do just search over it as opening it in zed/cursor is too cpu intensive with checks)
;[:t [:km "cursor: past (all)"]] ; TODO: do (see how useful, maybe best do just search over it as opening it in zed/cursor is too cpu intensive with checks)
;[:q [:km "New KM global macro"]] ; TODO: create global macro from Test (clear test, focus on naming new macro) (not needed with )
;[:d [:km "Move active `Test` KM macro actions"]] to a group with custom name (alfred show a list of groups to current actions in `Test` into)
; TODO: move active actions in `Test` macro to new global macro (delete those actions from `Test` too) (similar to `New KM global macro`)
; TODO: make alfred/raycast thing to search for folders/files etc.
;[:d [:km "cursor: data."]]
;[:i [:km "cursor: forks"]]
;[:c [:km "cursor: clients."]] ; TODO: add when I have client work (add on LA profile as services)
;[:k [:km "cursor: sites."]]
;[:period [:km "cursor: zig."]]
;[:i [:km "cursor: cpp."]]
;[:g [:km "cursor: genx"]]
;[:quote [:km "cursor: forks"]] ; TODO: with 3 `---`?
;[:k [:km "cursor: solbond"]]
;[:v [:km "cursor: nikiv.dev"]]
;[:u [:km "cursor: kuskus"]]
;[:comma [:km "cursor: lisa"]]
;[:v [:km "cursor: private"]]
;[:i [:km "cursor: config"]]
;[:o [:km "cursor: other"]]
;[:period [:km "cursor: forks"]]
;[:semicolon [:km "cursor: solpay.co"]]
; TODO: consider adding back
;[:v :left_shift]
;[:##j :!Cdown_arrow]
;[:##k :!Cup_arrow]
;[:##l :!Cright_arrow]
;[:##h :!Cleft_arrow]
;[:##semicolon :!Oup_arrow]
;[:##quote :!Odown_arrow]
;[:##n :!Oleft_arrow]
;[:##m :!Oright_arrow]
;[:i [:km "w: Iconic"]]
;[:v [:km "w: Pitch"]]
;[:w [:alfred "toggle wifi" "nikivi.wifi.tools"]]
;[:r [:alfred "restart wifi" "nikivi.wifi.tools"]]
;[:d [:km "Do debug build of LA"]]
;[:w [:km "w: Cloudflare Workers & Pages"]]
;[:e [:km "w: Baselime LA logs"]]
;[:f [:km "w: Cloudflare LA deployments"]]
;[:g [:km "w: Grafbase LA logs"]]
;[:spacebar :!COSn]]} ; Selection -> GitHub ; TODO: move it to another key (on s?)
{:des "zkey (chat)"
:rules [:z-mode
[:w [:km "New Spark email"]]
[:e [:km "open: Telegram"]]
[:f [:km "open: Spark"]]
[:i [:km "open: Tuple"]] ; TODO: doesn't seem to do anything
[:o :!CO7] ; open Tuple menu bar
[:g [:alfred "search contacts" "nikivi.search.content"]]
[:j [:km "open: Discord"]]
[:k [:km "open: Telegram"]]
[:l [:km "open: X Messages"]]
[:semicolon [:km "open: Slack"]]
[:h :!COTS6] ; Tuple hang up
[:t [:km "open: Contacts"]]
[:i [:km "w: Reddit submit"]]
[:period [:km "open: Element"]]
[:u [:km "Create new contact"]] ; TODO: move
[:v [:km "open: Loops"]]
]}
;[:v [:km "open: Zoom"]]
;[:spacebar :!CSOz] ; X search TODO: check bind
;[:s :!CTOSe] ; Loom recording restart
;[:d :!CTOSr] ; Loom recording pause/unpause
;[:c :!CTOSh] ; Loom recording cancel
;[:v :!CTOSg] ; Loom recording
;[:b :!CTOSw] ; Loom recording draw ; TODO: fails on loom..
; TODO: bind LA post (nice one)