-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
95 lines (95 loc) · 3.59 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
93
94
95
{
// VIM CONFIGURATION
"editor.lineNumbers": "relative",
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.sneak": true,
"vim.leader": "<Space>",
"vim.normalModeKeyBindingsNonRecursive": [
// NAVIGATION
// switch b/w buffers
{ "before": ["<TAB>"], "commands": [":bnext"] },
{ "before": ["<S-TAB>"], "commands": [":bprevious"] },
{ "before": ["leader", "f"], "commands": ["workbench.action.quickOpen"] },
// splits
{ "before": ["leader", "v"], "commands": [":vsplit"] },
{ "before": ["leader", "h"], "commands": [":split"] },
// panes
{ "before": ["C-h"], "commands": ["workbench.action.focusLeftGroup"] },
{ "before": ["C-j"], "commands": ["workbench.action.focusBelowGroup"] },
{ "before": ["C-k"], "commands": ["workbench.action.focusAboveGroup"] },
{ "before": ["C-l"], "commands": ["workbench.action.focusRightGroup"] },
// FILE MANIPULATION
{ "before": ["leader", "w"], "commands": [":w"] },
{ "before": ["leader", "q"], "commands": [":q!"] },
{ "before": ["leader", "s"], "commands": [":wq"] },
{ "before": ["leader", "t"], "commands": [":tabedit"] },
{ "before": ["leader", "p"], "commands": ["editor.action.formatDocument"] },
// FILE TREE
{ "before": ["C-x"], "commands": ["workbench.explorer.fileView.focus"] },
// FILE FORMATTING
{ "before": ["leader", "/"], "commands": ["editor.action.commentLine"] },
// MISCELLANEOUS - I can never spell it correctly!
{
"before": ["v", "w"],
"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", "/"], "commands": ["editor.action.commentLine"] }
],
"vim.insertModeKeyBindings": [{ "before": ["j", "j"], "after": ["<Esc>"] }],
// VSCODE CONFIGURATION
"editor.formatOnSave": true,
"workbench.startupEditor": "none",
"editor.mouseWheelZoom": true,
"explorer.confirmDelete": false,
"files.autoSave": "afterDelay",
"workbench.sideBar.location": "right",
"editor.accessibilitySupport": "off",
"editor.wordWrap": "on",
"editor.minimap.enabled": false,
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"files.autoSaveDelay": 10,
"editor.wordWrapColumn": 20,
"explorer.confirmDragAndDrop": false,
"editor.guides.bracketPairs": "active",
"editor.renderWhitespace": "all",
"javascript.updateImportsOnFileMove.enabled": "always",
"launch": {},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"terminal.integrated.cwd": "${fileDirname}",
"git.openRepositoryInParentFolders": "always",
"git.autofetch": true,
"redhat.telemetry.enabled": false,
"terminal.integrated.fontSize": 16,
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
"go.toolsManagement.autoUpdate": true,
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"workbench.activityBar.visible": false
}