-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvscodium.nix
97 lines (97 loc) · 3.09 KB
/
vscodium.nix
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
{ pkgs, nix-vscode-extensions, ... }:
let
extensions = nix-vscode-extensions.extensions.${pkgs.system};
in
{
programs.vscode = {
enable = true;
package = pkgs.vscodium;
profiles.default = {
enableExtensionUpdateCheck = false;
enableUpdateCheck = false;
extensions = with extensions.vscode-marketplace; [
angular.ng-template
bbenoist.nix
cyrilletuzi.angular-schematics
dbaeumer.vscode-eslint
eamodio.gitlens
esbenp.prettier-vscode
# github.copilot
# github.copilot-chat
hediet.vscode-drawio
infinity1207.angular2-switcher
james-yu.latex-workshop
kamadorueda.alejandra
leanprover.lean4
ms-python.python
# ms-toolsai.jupyter
# ms-toolsai.jupyter-keymap
# ms-toolsai.jupyter-renderers
ms-vsliveshare.vsliveshare
orta.vscode-jest
redhat.vscode-yaml
rust-lang.rust-analyzer
# streetsidesoftware.code-spell-checker
uiua-lang.uiua-vscode
usernamehw.errorlens
vscodevim.vim
vue.volar
xabikos.javascriptsnippets
];
userSettings = {
"editor.wordWrap" = "on";
"workbench.startupEditor" = "newUntitledFile";
"files.autoSave" = "afterDelay";
"python.autoComplete.extraPaths" = [ ];
"editor.lineNumbers" = "on";
"vim.commandLineModeKeyBindings" = [ ];
"rust-analyzer.checkOnSave.command" = "clippy";
"files.associations" = {
"*.toml" = "toml";
};
"vim.useSystemClipboard" = true;
"task.quickOpen.skip" = true;
"explorer.confirmDragAndDrop" = false;
"jupyter.askForKernelRestart" = false;
"notebook.output.textLineLimit" = 50;
"hediet.vscode-drawio.theme" = "Kennedy";
"[uiua]"."editor.fontSize" = 18;
"[html]"."editor.defaultFormatter" = "esbenp.prettier-vscode";
"[javascript]"."editor.defaultFormatter" = "esbenp.prettier-vscode";
"[json]"."editor.defaultFormatter" = "esbenp.prettier-vscode";
"[jsonc]"."editor.defaultFormatter" = "vscode.json-language-features";
"[scss]"."editor.defaultFormatter" = "esbenp.prettier-vscode";
"[typescript]"."editor.defaultFormatter" = "esbenp.prettier-vscode";
};
keybindings = [
{
"key" = "F10";
"command" = "workbench.action.tasks.runTask";
"args" = "Run";
}
{
"key" = "shift+f10";
"command" = "-editor.action.showContextMenu";
"when" = "textInputFocus";
}
{
"key" = "shift+f10";
"command" = "workbench.action.tasks.reRunTask";
}
{
"key" = "ctrl+k";
"command" = "-extension.vim_ctrl+k";
"when" = "editorTextFocus && vim.active && vim.use<C-k> && !inDebugRepl";
}
{
"key" = "shift+escape";
"command" = "workbench.action.closePanel";
}
{
"key" = "ctrl+f10";
"command" = "workbench.action.tasks.restartTask";
}
];
};
};
}