-
Notifications
You must be signed in to change notification settings - Fork 87
/
settings.json
92 lines (89 loc) · 2.89 KB
/
settings.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
{
"editor.formatOnSave": true,
"editor.suggest.insertMode": "replace",
"terminal.integrated.fontFamily": "MesloLGS NF",
"editor.linkedEditing": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"window.zoomLevel": 0.5,
"launch": {},
"[json]": {},
"workbench.statusBar.visible": false,
"editor.minimap.enabled": false,
"breadcrumbs.enabled": false,
"workbench.iconTheme": "material-icon-theme",
"update.showReleaseNotes": false,
"workbench.activityBar.visible": false,
"zenMode.hideLineNumbers": false,
"zenMode.hideTabs": false,
"editor.lineNumbers": "relative",
"vim.leader": "<Space>",
"vim.hlsearch": true,
"vim.normalModeKeyBindingsNonRecursive": [
// NAVIGATION
// switch b/w buffers
{ "before": ["<S-h>"], "commands": [":bprevious"] },
{ "before": ["<S-l>"], "commands": [":bnext"] },
// splits
{ "before": ["leader", "v"], "commands": [":vsplit"] },
{ "before": ["leader", "s"], "commands": [":split"] },
// panes
{
"before": ["leader", "h"],
"commands": ["workbench.action.focusLeftGroup"]
},
{
"before": ["leader", "j"],
"commands": ["workbench.action.focusBelowGroup"]
},
{
"before": ["leader", "k"],
"commands": ["workbench.action.focusAboveGroup"]
},
{
"before": ["leader", "l"],
"commands": ["workbench.action.focusRightGroup"]
},
// NICE TO HAVE
{ "before": ["leader", "w"], "commands": [":w!"] },
{ "before": ["leader", "q"], "commands": [":q!"] },
{ "before": ["leader", "x"], "commands": [":x!"] },
{
"before": ["[", "d"],
"commands": ["editor.action.marker.prev"]
},
{
"before": ["]", "d"],
"commands": ["editor.action.marker.next"]
},
{
"before": ["<leader>", "c", "a"],
"commands": ["editor.action.quickFix"]
},
{ "before": ["leader", "f"], "commands": ["workbench.action.quickOpen"] },
{ "before": ["leader", "p"], "commands": ["editor.action.formatDocument"] },
{
"before": ["g", "h"],
"commands": ["editor.action.showDefinitionPreviewHover"]
}
],
"vim.visualModeKeyBindings": [
// Stay in visual mode while indenting
{ "before": ["<"], "commands": ["editor.action.outdentLines"] },
{ "before": [">"], "commands": ["editor.action.indentLines"] },
// Move selected lines while staying in visual mode
{ "before": ["J"], "commands": ["editor.action.moveLinesDownAction"] },
{ "before": ["K"], "commands": ["editor.action.moveLinesUpAction"] },
// toggle comment selection
{ "before": ["leader", "c"], "commands": ["editor.action.commentLine"] }
],
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"go.toolsManagement.autoUpdate": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}