-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
2473 lines (2473 loc) · 80.6 KB
/
package.json
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
{
"name": "retronvim",
"displayName": "RetroNvim",
"description": "neovim text objects from A-Z + LSP whichkey + touchcursor keyboard layout + minimal zsh / Msys2's zsh setup",
"icon": "assets/retronvim-logo.png",
"publisher": "YeferYV",
"author": {
"name": "YeferYV",
"url": "https://github.com/YeferYV"
},
"version": "0.2.0",
"engines": {
"vscode": "^1.85.0"
},
"activationEvents": [
"*"
],
"main": "./extension.js",
"categories": [
"Keymaps"
],
"keywords": [
"retronvim",
"vim",
"neovim",
"lazyvim",
"lunarvim",
"nvchad",
"astronvim",
"text objects",
"LSP",
"touchcursor",
"keyboard layout",
"kanata",
"Kmonad",
"QMK"
],
"homepage": "https://marketplace.visualstudio.com/items?itemName=YeferYV.RetroNvim",
"repository": {
"type": "git",
"url": "https://github.com/YeferYV/RetroNvim"
},
"bugs": {
"url": "https://github.com/YeferYV/RetroNvim/issues"
},
"contributes": {
"configurationDefaults": {
"accessibility.accessibleView.closeOnKeyPress": false,
"editor.linkedEditing": true,
"editor.accessibilitySupport": "off",
"editor.fontFamily": "'FiraCode Nerd Font', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.minimap.enabled": false,
"editor.quickSuggestions": {
"strings": "on"
},
"editor.renderWhitespace": "none",
"editor.stickyScroll.enabled": false,
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"typescript": "typescriptreact"
},
"extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1
},
"diffEditor.maxComputationTime": 0,
"files.trimTrailingWhitespace": true,
"git.autofetch": true,
"git.mergeEditor": true,
"json.format.keepLines": true,
"multiDiffEditor.experimental.enabled": true,
"scm.defaultViewMode": "tree",
"terminal.integrated.commandsToSkipShell": [
"whichkey.show",
"workbench.action.openEditorAtIndex1",
"workbench.action.openEditorAtIndex2",
"workbench.action.openEditorAtIndex3",
"workbench.action.openEditorAtIndex4",
"workbench.action.openEditorAtIndex5",
"workbench.action.openEditorAtIndex6",
"workbench.action.openEditorAtIndex7",
"workbench.action.openEditorAtIndex8",
"workbench.action.openEditorAtIndex9"
],
"terminal.integrated.enableImages": true,
"terminal.integrated.env.linux": {
"RETRONVIM_PATH": "${env:HOME}/.vscode/extensions/yeferyv.retronvim",
"RETRONVIM_BIN": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/bin/linux-x64",
"EDITOR": "nvim -u $RETRONVIM_PATH/nvim/init.lua",
"EDITOR_FZF": "nvim -u $RETRONVIM_PATH/nvim/init.lua -c 'Pick files'",
"EDITOR_RIPGREP": "nvim -u $RETRONVIM_PATH/nvim/init.lua -c 'Pick grep_live'",
"PATH": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/bin/linux-x64:${env:HOME}/.pixi/bin:${env:HOME}/.local/share/pnpm:${env:PATH}",
"PNPM_HOME": "${env:HOME}/.local/share/pnpm",
"VISUAL": "code",
"STARSHIP_CONFIG": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/zsh/starship.toml",
"SWALLOWER": "devour",
"YAZI_CONFIG_HOME": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/yazi",
"ZDOTDIR": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/zsh"
},
"terminal.integrated.env.osx": {
"RETRONVIM_PATH": "${env:HOME}/.vscode/extensions/yeferyv.retronvim",
"RETRONVIM_BIN": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/bin/darwin-x64",
"EDITOR": "nvim -u $RETRONVIM_PATH/nvim/init.lua",
"EDITOR_FZF": "nvim -u $RETRONVIM_PATH/nvim/init.lua -c 'Pick files'",
"EDITOR_RIPGREP": "nvim -u $RETRONVIM_PATH/nvim/init.lua -c 'Pick grep_live'",
"PATH": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/bin/darwin-x64:${env:HOME}/.vscode/extensions/yeferyv.retronvim/bin/darwin-x64/nvim-macos-x86_64/bin:${env:HOME}/.pixi/bin:${env:HOME}/Library/pnpm:${env:PATH}",
"PNPM_HOME": "${env:HOME}/Library/pnpm",
"VISUAL": "code",
"STARSHIP_CONFIG": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/zsh/starship.toml",
"YAZI_CONFIG_HOME": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/yazi",
"ZDOTDIR": "${env:HOME}/.vscode/extensions/yeferyv.retronvim/zsh"
},
"terminal.integrated.env.windows": {
"RETRONVIM_PATH": "${env:USERPROFILE}/.vscode/extensions/yeferyv.retronvim",
"EDITOR": "nvim --clean -c 'source $RETRONVIM_PATH/nvim/init.lua'",
"EDITOR_FZF": "nvim --clean -c 'source $RETRONVIM_PATH/nvim/init.lua' -c 'Pick files'",
"EDITOR_RIPGREP": "nvim --clean -c 'source $RETRONVIM_PATH/nvim/init.lua' -c 'Pick grep_live'",
"PATH": "${env:USERPROFILE}\\.vscode\\extensions\\yeferyv.retronvim\\bin\\win32-x64;${env:USERPROFILE}\\.vscode\\extensions\\yeferyv.retronvim\\bin\\win32-x64\\nvim-win64\\bin;${env:PATH}",
"VISUAL": "code",
"STARSHIP_CONFIG": "${env:USERPROFILE}/.vscode/extensions/yeferyv.retronvim/zsh/starship.toml",
"YAZI_CONFIG_HOME": "${env:USERPROFILE}/.vscode/extensions/yeferyv.retronvim/yazi",
"ZDOTDIR": "${env:USERPROFILE}/.vscode/extensions/yeferyv.retronvim/zsh"
},
"terminal.integrated.scrollback": 10000,
"terminal.integrated.suggest.enabled": true,
"terminal.integrated.profiles.windows": {
"zsh (MSYS2)": {
"path": "msys2.cmd",
"args": [
"-shell",
"zsh",
"-full-path"
],
"env": {
"HOME": "${env:USERPROFILE}"
}
}
},
"terminal.integrated.defaultProfile.windows": "zsh (MSYS2)",
"terminal.integrated.defaultProfile.linux": "zsh",
"vscode-neovim.compositeKeys": {
"jk": {
"command": "vscode-neovim.escape"
},
"kj": {
"command": "vscode-neovim.escape"
}
},
"vscode-neovim.ctrlKeysForInsertMode": [],
"vscode-neovim.ctrlKeysForNormalMode": [
"a",
"b",
"d",
"e",
"f",
"h",
"i",
"j",
"k",
"l",
"o",
"r",
"u",
"v",
"w",
"x",
"y",
"/"
],
"vscode-neovim.neovimInitVimPaths.linux": "$HOME/.vscode/extensions/yeferyv.retronvim/nvim/init.lua",
"vscode-neovim.neovimInitVimPaths.darwin": "$HOME/.vscode/extensions/yeferyv.retronvim/nvim/init.lua",
"vscode-neovim.neovimInitVimPaths.win32": "$HOME/.vscode/extensions/yeferyv.retronvim/nvim/init.lua",
"zenMode.centerLayout": false,
"zenMode.fullScreen": false,
"zenMode.hideLineNumbers": false,
"workbench.colorTheme": "Tokyo Night Dark",
"workbench.colorCustomizations": {
"[Tokyo Night Dark][Poimandres Alternate]": {
"editor.lineHighlightBackground": "#00000000",
"editor.lineHighlightBorder": "#00000000",
"editorGroup.border": "#25252566",
"editorSuggestWidget.selectedBackground": "#20222c",
"panel.border": "#25252566",
"terminal.border": "#25252566",
"terminal.ansiBlack": "#363b54",
"terminal.ansiRed": "#f7768e",
"terminal.ansiGreen": "#41a6b5",
"terminal.ansiYellow": "#e0af68",
"terminal.ansiBlue": "#7aa2f7",
"terminal.ansiMagenta": "#bb9af7",
"terminal.ansiCyan": "#7dcfff",
"terminal.ansiWhite": "#787c99",
"terminal.ansiBrightBlack": "#555555",
"terminal.ansiBrightRed": "#ff0000",
"terminal.ansiBrightGreen": "#00ff00",
"terminal.ansiBrightYellow": "#ffff00",
"terminal.ansiBrightBlue": "#5555cc",
"terminal.ansiBrightMagenta": "#8855ff",
"terminal.ansiBrightCyan": "#5FB3A1",
"terminal.ansiBrightWhite": "#ffffff"
}
},
"whichkey.bindings": [
{
"key": " ",
"name": "terminal copy mode",
"command": "runCommands",
"args": {
"commands": [
{
"command": "workbench.action.terminal.selectAll"
},
{
"command": "editor.action.clipboardCopyAction"
},
{
"command": "workbench.action.files.newUntitledFile"
},
{
"command": "editor.action.clipboardPasteAction"
}
]
}
},
{
"key": ".",
"name": "Repeat Which-key",
"command": "whichkey.repeatMostRecent"
},
{
"key": "/",
"name": "Comment",
"command": "editor.action.commentLine"
},
{
"key": "?",
"name": "FZF Wich-key",
"command": "whichkey.searchBindings"
},
{
"key": "b",
"name": "+Buffers (Editors)",
"bindings": [
{
"key": ";",
"name": "Recent editor",
"commands": [
"workbench.action.quickOpenPreviousRecentlyUsedEditor",
"workbench.action.acceptSelectedQuickOpenItem"
]
},
{
"key": "b",
"name": "Find editors",
"command": "workbench.action.showAllEditors"
},
{
"key": "B",
"name": "Recent editors",
"command": "workbench.action.quickOpenPreviousRecentlyUsedEditor"
},
{
"key": "C",
"name": "Close other editors",
"command": "workbench.action.closeOtherEditors"
},
{
"key": "s",
"name": "Previous editor",
"command": "workbench.action.previousEditor"
},
{
"key": "f",
"name": "Next editor",
"command": "workbench.action.nextEditor"
},
{
"key": "S",
"name": "Move editor left in group",
"command": "workbench.action.moveEditorLeftInGroup"
},
{
"key": "F",
"name": "Move editor right in group",
"command": "workbench.action.moveEditorRightInGroup"
},
{
"key": "h",
"name": "Move editor into left group",
"command": "workbench.action.moveEditorToLeftGroup"
},
{
"key": "j",
"name": "Move editor into below group",
"command": "workbench.action.moveEditorToBelowGroup"
},
{
"key": "k",
"name": "Move editor into above group",
"command": "workbench.action.moveEditorToAboveGroup"
},
{
"key": "l",
"name": "Move editor into right group",
"command": "workbench.action.moveEditorToRightGroup"
},
{
"key": "t",
"name": "New untitled editor",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "x",
"name": "Close active editor",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "X",
"name": "Reopen closed editor",
"command": "workbench.action.reopenClosedEditor"
}
]
},
{
"key": "d",
"name": "+Debug",
"bindings": [
{
"key": "b",
"name": "Toggle breakpoint",
"command": "editor.debug.action.toggleBreakpoint"
},
{
"key": "B",
"name": "Toggle inline breakpoint",
"command": "editor.debug.action.toggleInlineBreakpoint"
},
{
"key": "c",
"name": "Continue debug",
"command": "workbench.action.debug.continue"
},
{
"key": "i",
"name": "Step into",
"command": "workbench.action.debug.stepInto"
},
{
"key": "j",
"name": "Jump to cursor",
"command": "debug.jumpToCursor"
},
{
"key": "o",
"name": "Step over",
"command": "workbench.action.debug.stepOver"
},
{
"key": "O",
"name": "Step out",
"command": "workbench.action.debug.stepOut"
},
{
"key": "p",
"name": "Pause debug",
"command": "workbench.action.debug.pause"
},
{
"key": "q",
"name": "Quokka start",
"command": "quokka.makeQuokkaFromExistingFile"
},
{
"key": "Q",
"name": "Quokka stop",
"commands": [
"quokka.stopAll",
"workbench.action.toggleAuxiliaryBar"
]
},
{
"key": "r",
"name": "Restart debug",
"command": "workbench.action.debug.restart"
},
{
"key": "R",
"name": "Run without debugging",
"command": "workbench.action.debug.run"
},
{
"key": "s",
"name": "Start debug",
"command": "workbench.action.debug.start"
},
{
"key": "S",
"name": "Stop debug",
"command": "workbench.action.debug.stop"
},
{
"key": "t",
"name": "Toggle REPL",
"command": "workbench.debug.action.toggleRepl"
},
{
"key": "T",
"name": "Toggle quokka",
"command": "quokka.toggle"
},
{
"key": "v",
"name": "Focus on watch window",
"command": "workbench.debug.action.focusWatchView"
},
{
"key": "V",
"name": "Add to watch",
"command": "editor.debug.action.selectionToWatch"
},
{
"key": "w",
"name": "Wolf start",
"command": "wolf.barkAtCurrentFile"
},
{
"key": "W",
"name": "Wolf stop",
"command": "wolf.stopBarking"
}
]
},
{
"key": "e",
"name": "Toggle Explorer",
"type": "conditional",
"bindings": [
{
"key": "",
"name": "default",
"command": "workbench.view.explorer"
},
{
"key": "when:sideBarVisible && explorerViewletVisible",
"name": "Hide explorer",
"command": "workbench.action.toggleSidebarVisibility"
}
]
},
{
"key": "E",
"name": "+Emmet (insert mode only)",
"bindings": [
{
"key": "a",
"name": "select outward item",
"command": "editor.emmet.action.balanceOut"
},
{
"key": "i",
"name": "select inward item",
"command": "editor.emmet.action.balanceIn"
},
{
"key": "n",
"name": "select next item",
"command": "editor.emmet.action.selectNextItem"
},
{
"key": "p",
"name": "select prev item",
"command": "editor.emmet.action.selectPrevItem"
}
]
},
{
"key": "f",
"name": "Find File",
"command": "workbench.action.quickOpen"
},
{
"key": "g",
"name": "+Git",
"bindings": [
{
"key": "A",
"name": "Commit Staged (Amend)",
"command": "git.commitStagedAmend"
},
{
"key": "b",
"name": "Create Branch From",
"command": "git.branchFrom"
},
{
"key": "B",
"name": "Delete Branch",
"command": "git.deleteBranch"
},
{
"key": "c",
"name": "Checkout Branch",
"command": "git.checkout"
},
{
"key": "C",
"name": "Commit Changes",
"command": "git.commit"
},
{
"key": "d",
"name": "Discard Changes of current file",
"command": "git.clean"
},
{
"key": "D",
"name": "Toggle Diff view",
"command": "toggle.diff.renderSideBySide"
},
{
"key": "f",
"name": "Fetch",
"command": "git.fetch"
},
{
"key": "F",
"name": "Pull From",
"command": "git.pullFrom"
},
{
"key": "g",
"name": "Lazygit",
"command": "runCommands",
"args": {
"commands": [
{
"command": "workbench.action.createTerminalEditor"
},
{
"command": "workbench.action.terminal.sendSequence",
"args": [
{
"text": "lazygit; exit\n"
}
]
}
]
}
},
{
"key": "j",
"name": "Next Change",
"command": "workbench.action.editor.nextChange"
},
{
"key": "k",
"name": "Previous Change",
"command": "workbench.action.editor.previousChange"
},
{
"key": "J",
"name": "Preview Next Hunk",
"command": "editor.action.dirtydiff.next"
},
{
"key": "K",
"name": "Preview Previous Hunk",
"command": "editor.action.dirtydiff.previous"
},
{
"key": "o",
"name": "Open Diff (file changes)",
"command": "git.openChange"
},
{
"key": "r",
"name": "Reset hunk",
"command": "git.revertSelectedRanges"
},
{
"key": "s",
"name": "Stage current file",
"command": "git.stage"
},
{
"key": "S",
"name": "Unstage current file",
"command": "git.unstage"
},
{
"key": "v",
"name": "View Source Control",
"command": "workbench.view.scm"
},
{
"key": "V",
"name": "View All Changes",
"command": "git.viewChanges"
},
{
"key": "<",
"name": "Pull",
"command": "git.pull"
},
{
"key": ">",
"name": "Push",
"command": "git.push"
},
{
"key": "?",
"name": "show lazygit keybindings (when inside lazygit)",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "?"
}
}
]
},
{
"key": "I",
"name": "+Install Dependencies",
"bindings": [
{
"key": "b",
"name": "install brew, pixi and pnpm package-managers (MacOS)",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\" \n"
},
{
"text": "curl -fsSL https://get.pnpm.io/install.sh | sh - \n"
},
{
"text": "curl -fsSL https://pixi.sh/install.sh | bash \n"
},
"require('vscode').notify('cheatsheet: https://pixi.sh/latest/basic_usage & https://github.com/YeferYV/RetroNvim/wiki/Recipies#pixi-virtual-environment. create a virtual environment with `pixi init; pixi add python; pixi run zsh` and select it (view vscode statusbar and click to change) (relaunch vscode on Windows10)')",
"require('vscode').notify('cheatsheet: https://cht.sh/pnpm & https://pnpm.io/cli/env. eg. `pnpm env use --global latest; pnpm create t3-app`')"
]
},
{
"key": "B",
"name": "brew install eza FiraCode-NF fzf git karabiner lazygit starship 7zip",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "brew tap homebrew/cask-fonts && brew install eza font-fira-code-nerd-font fzf git karabiner-elements lazygit starship sevenzip; \n"
},
{
"text": "sudo /Applications/.Karabiner-VirtualHIDDevice-Manager.app/Contents/MacOS/Karabiner-VirtualHIDDevice-Manager activate \n"
},
"require('vscode-neovim').notify('for kanata to work you need to allow karabiner and vscode input monitoring on `security & privacy`')"
]
},
{
"key": "n",
"name": "install nixpkgs, pixi and pnpm package managers (Linux)",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "yes | sh <(curl -L https://nixos.org/nix/install) --daemon \n"
},
{
"text": "curl -fsSL https://get.pnpm.io/install.sh | sh - \n"
},
{
"text": "curl -fsSL https://pixi.sh/install.sh | bash \n"
},
"require('vscode').notify('cheatsheet: https://pixi.sh/latest/basic_usage & https://github.com/YeferYV/RetroNvim/wiki/Recipies#pixi-virtual-environment. create a virtual environment with `pixi init; pixi add python; pixi run zsh` and select it (view vscode statusbar and click to change) (relaunch vscode on Windows10)')",
"require('vscode').notify('cheatsheet: https://cht.sh/pnpm & https://pnpm.io/cli/env. eg. `pnpm env use --global latest; pnpm create t3-app`')"
]
},
{
"key": "N",
"name": "nixpkgs install eza FiraCode-NF fzf git lazygit ripdrag starship zsh 7zip",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence"
],
"args": [
null,
{
"text": "nix-env -iA nixpkgs.eza nixpkgs.fira-code-nerdfont nixpkgs.fzf nixpkgs.git nixpkgs.lazygit nixpkgs.ripdrag nixpkgs.starship nixpkgs.zsh nixpkgs._7zz; \n"
}
]
},
{
"key": "s",
"name": "install scoop, pixi and pnpm package managers (Windows 10/11)",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua",
"vscode-neovim.lua",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser; iwr get.scoop.sh | iex \n"
},
{
"text": "iwr -useb https://pixi.sh/install.ps1 | iex \n"
},
{
"text": "iwr -useb https://get.pnpm.io/install.ps1 | iex \n"
},
"require('vscode').notify('Relaunch vscode after installation')",
"require('vscode').notify('cheatsheet: https://pixi.sh/latest/basic_usage & https://github.com/YeferYV/RetroNvim/wiki/Recipies#pixi-virtual-environment. create a virtual environment with `pixi init; pixi add python; pixi run zsh` and select it (view vscode statusbar and click to change) (relaunch vscode on Windows10)')",
"require('vscode').notify('cheatsheet: https://cht.sh/pnpm & https://pnpm.io/cli/env. eg. `pnpm env use --global latest; pnpm create t3-app`')"
]
},
{
"key": "S",
"name": "scoop install eza FiraCode-NF fzf git lazygit msys2 starship zig zsh 7zip",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "$env:PATH=\"$env:PATH;$HOME/scoop/shims\"; scoop install git; scoop bucket add extras; scoop bucket add nerd-fonts; scoop install eza FiraCode-NF fzf lazygit msys2 starship zig 7zip; msys2 -c 'pacman -S --noconfirm zsh' \n"
},
"require('vscode').notify('Relaunch vscode after finishing the installation of dependencies')"
]
},
{
"key": "R",
"name": "Restart Retronvim (REQUIRED after installing dependencies) (windows 10/11 needs to relaunch vscode)",
"commands": [
"workbench.panel.output.focus",
"workbench.action.reloadWindow"
]
},
{
"key": "i",
"name": "Increase keyboard repeat rate on MacOS ",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"vscode-neovim.send"
],
"args": [
null,
{
"text": "defaults write -g InitialKeyRepeat -int 10 && defaults write -g KeyRepeat -int 1 \n"
},
"<cmd>lua require('vscode').notify('Relogin to MacOS to update keyboard repeat rate')<cr>"
]
},
{
"key": "I",
"name": "Increase keyboard repeat rate on Windows 10/11",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "powershell -c \"set-itemproperty 'HKCU:/Control Panel/Accessibility/Keyboard Response' AutoRepeatDelay 190 \" \n"
},
{
"text": "powershell -c \"set-itemproperty 'HKCU:/Control Panel/Accessibility/Keyboard Response' AutoRepeatRate 7 \" \n"
},
{
"text": "powershell -c \"set-itemproperty 'HKCU:/Control Panel/Accessibility/Keyboard Response' DelayBeforeAcceptance 0 \" \n"
},
{
"text": "powershell -c \"set-itemproperty 'HKCU:/Control Panel/Accessibility/Keyboard Response' Flags 27 \" \n"
},
"require('vscode').notify('Relogin to Windows 10/11 to update keyboard repeat rate')",
"require('vscode').notify('`<windowskey-x>ui` to relogin, `<windowskey>vscode` to open vscode')"
]
},
{
"key": "k",
"name": "Start touchcursor keyboard layout on Linux/MacOS (LeftCtrl + Space + Escape to stop)",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence"
],
"args": [
null,
{
"text": "sudo --preserve-env bash --login -c '$RETRONVIM_BIN/kanata --cfg $RETRONVIM_PATH/kanata/simple.kbd &'; sleep 5; exit; \r"
}
]
},
{
"key": "K",
"name": "Start touchcursor keyboard layout on Windows 10/11 (LeftCtrl + Space + Escape to stop)",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "powershell -c 'conhost --headless kanata --cfg %RETRONVIM_PATH%/kanata/simple.kbd; Set-WinUserLanguageList -force en-US,es-US'; sleep 2; exit; \r"
},
"require('vscode').notify('`<windowskey-r>control keyboard` and `<windows>filter keys` to change keyboard repeat rate without relogin')"
]
},
{
"key": "A",
"name": "Install ArchRice (retronvim's neovim extensions + extra extensions)",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "git clone --depth=1 https://github.com/yeferyv/archrice $HOME/.config/archrice \n"
},
{
"text": "sh -c 'cp -r ~/.config/archrice/.config/nvim ${LOCALAPPDATA:-~/.config}' \n"
},
"require('vscode-neovim').notify('Windows requires `scoop install git`')"
]
},
{
"key": "j",
"name": "Install javascript and python vscode-extensions",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "code --install-extension alefragnani.Bookmarks --install-extension christian-kohler.path-intellisense --install-extension drewxs.tokyo-night-dark --install-extension lamartire.git-indicators \n"
},
{
"text": "code --install-extension WallabyJs.console-ninja --install-extension bradlc.vscode-tailwindcss --install-extension emranweb.daisyui-snippet --install-extension imgildev.vscode-nextjs-generator \n"
},
{
"text": "code --install-extension esbenp.prettier-vscode --install-extension prisma.prisma --install-extension rangav.vscode-thunder-client --install-extension usernamehw.errorlens \n"
},
{
"text": "code --install-extension ms-python.black-formatter --install-extension ms-python.python --install-extension devil-cyber.keras-snippet --install-extension changkaiyan.tf2snippets \n"
},
{
"text": "code --install-extension jjjermiah.pixi-vscode --install-extension snippington.snp-pandas-basic --install-extension supermaven.supermaven --install-extension miguelsolorio.symbols \n"
},
"require('vscode-neovim').notify('extensions are installed for the default vscode profile')"
]
},
{
"key": "J",
"name": "Install jupyter and kaggle",
"commands": [
"workbench.action.createTerminalEditor",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"workbench.action.terminal.sendSequence",
"vscode-neovim.lua"
],
"args": [
null,
{
"text": "pixi global install kaggle; pixi init; pixi add python ipykernel; # then `pixi shell` on Unix and `pixi run zsh` on Windows \n"
},
{
"text": "code --install-extension ms-toolsai.jupyter \n"
},
{
"text": "# kaggle kernels init # requires API KEY then edit generated kernel-metadata.json \n"
},
{
"text": "# kaggle kernels push; kaggle kernel output <owner/notebook> # https://www.kaggle.com/code/owner/notebook \n"
},
"require('vscode-neovim').notify('to use kaggle machines from vscode see: https://www.kaggle.com/docs/api and https://github.com/Kaggle/kaggle-api/blob/main/docs/README.md')"
]
}
]
},
{
"key": "l",
"name": "+LSP",
"bindings": [
{
"key": "a",
"name": "Auto Fix",
"command": "editor.action.autoFix"
},
{
"key": "A",
"name": "Code Action Refactor",
"command": "editor.action.refactor"
},
{
"key": "c",
"name": "View Calls Hierarchy",
"command": "references-view.showCallHierarchy"
},
{
"key": "d",
"name": "Go to Definition",
"command": "editor.action.revealDefinition"
},
{
"key": "D",
"name": "Go to Declaration",
"command": "editor.action.revealDeclaration"
},
{
"key": "F",
"name": "Format",
"command": "editor.action.format"
},
{
"key": "h",
"name": "Hover",
"command": "editor.action.showHover"
},
{
"key": "H",
"name": "Signature help",
"command": "editor.action.triggerParameterHints"
},
{
"key": "I",
"name": "Go to Implementation",
"command": "editor.action.goToImplementation"
},
{
"key": "l",
"name": "Jump to last change",
"command": "workbench.action.navigateToLastEditLocation"
},
{
"key": "n",
"name": "Next Problem",
"command": "editor.action.marker.next"
},
{
"key": "N",
"name": "Next Problem (Proj)",
"command": "editor.action.marker.nextInFiles"
},
{
"key": "o",
"name": "Open Diagnostics/Errors",
"command": "editor.action.marker.next"
},
{
"key": "p",
"name": "Prev Problem",
"command": "editor.action.marker.prev"
},
{
"key": "P",
"name": "Prev Problem (Proj)",
"command": "editor.action.marker.prevInFiles"
},
{
"key": "q",
"name": "Diagnostic List",
"command": "workbench.actions.view.problems"
},
{
"key": "Q",