-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvscodeSettings.JSON
More file actions
449 lines (352 loc) · 12.7 KB
/
vscodeSettings.JSON
File metadata and controls
449 lines (352 loc) · 12.7 KB
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
{
// Sets the color theme for the VS Code interface
"workbench.colorTheme": "Catppuccin Mocha",
// Controls the speed of autocomplete suggestions
"windsurf.autocompleteSpeed": "fast",
// Sets the font size for the editor
"editor.fontSize": 22,
// Enables word wrapping in the editor
"editor.wordWrap": "on",
// Enables the layout control feature
"workbench.layoutControl.enabled": true,
// Disables the minimap feature
"editor.minimap.enabled": false,
// Disables rendering characters in the minimap
"editor.minimap.renderCharacters": false,
// Sets the size of the minimap
"editor.minimap.size": "fill",
// Sets the cursor blinking style
"editor.cursorBlinking": "phase",
// Enables smooth caret animation
"editor.cursorSmoothCaretAnimation": "on",
// Enables smooth scrolling
"editor.smoothScrolling": true,
// Enables smooth scrolling in lists
"workbench.list.smoothScrolling": true,
// Enables smooth scrolling in the terminal
"terminal.integrated.smoothScrolling": true,
// Enables bracket pair colorization
"editor.bracketPairColorization.enabled": true,
// Highlights active bracket pairs
"editor.guides.bracketPairs": "active",
// Highlights the active bracket pair
"editor.guides.highlightActiveBracketPair": true,
// Enables font ligatures
"editor.fontLigatures": true,
// Sets the font family for the editor
"editor.fontFamily": "'Cascadia Code', Menlo, Monaco, 'Courier New', monospace",
// Sets the font weight for the editor
"editor.fontWeight": "450",
// Sets the location of the side bar
"workbench.sideBar.location": "left",
// Enables breadcrumbs
"breadcrumbs.enabled": true,
// Highlights the entire line when the cursor is on it
"editor.renderLineHighlight": "all",
// Highlights occurrences of the selected text
"editor.occurrencesHighlight": "singleFile",
// Renders whitespace characters in the selection
"editor.renderWhitespace": "selection",
// Ensures the code runs in VS Code's integrated terminal instead of an output panel
"code-runner.runInTerminal": true,
// Defines how to compile and run C++ files
"code-runner.executorMap": {
"cpp": "cd \"$dir\" && g++ -std=c++11 \"$fileName\" -o \"$fileNameWithoutExt\" && \"$dir$fileNameWithoutExt\""
},
// Automatically saves the file before running
"code-runner.saveFileBeforeRun": true,
// Clears previous output in terminal before each run
"code-runner.clearPreviousOutput": true,
// Sets the C++ language standard to C++14
"C_Cpp.default.cppStandard": "c++14",
// Sets up the include path for header files
"C_Cpp.default.includePath": ["${workspaceFolder}/**"],
// Specifies the path to the C++ compiler
"C_Cpp.default.compilerPath": "/usr/bin/g++",
// Sets the IntelliSense mode for macOS
"C_Cpp.default.intelliSenseMode": "macos-clang-x64",
// Customizes the token colors for comments
"editor.tokenColorCustomizations": {
"comments": "#8B949E"
},
// Sets the icon theme for the VS Code interface
"workbench.iconTheme": "material-icon-theme",
// Sets the cursor style
"editor.cursorStyle": "line",
// Sets the line height for the editor
"editor.lineHeight": 1.6,
// Sets the ruler positions for the editor
"editor.rulers": [80, 100],
// Enables the glyph margin
"editor.glyphMargin": true,
// Enables semantic highlighting
"editor.semanticHighlighting.enabled": true,
// Sets the font size for the terminal
"terminal.integrated.fontSize": 16,
// Sets the font family for the terminal
"terminal.integrated.fontFamily": "JetBrains Mono",
// Customizes the colors for the VS Code interface
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#1073cf2d",
"editor.lineHighlightBorder": "#9fced11f",
"editorBracketMatch.background": "#363b4c",
"editorBracketMatch.border": "#5f85bb",
"tab.activeBorderTop": "#7c3aed",
"activityBar.background": "#1f1f2e",
"sideBar.background": "#1a1b26",
"editor.background": "#1a1b26",
"terminal.background": "#1a1b26",
"statusBar.background": "#5f85bb",
"titleBar.activeBackground": "#1f1f2e",
"commandCenter.background": "#1a1b2680",
"commandCenter.border": "#7c3aed40",
"commandCenter.foreground": "#ffffff",
"commandCenter.activeForeground": "#7c3aed",
"commandCenter.activeBackground": "#1f1f2e99",
"quickInput.background": "#1a1b2699",
"quickInput.foreground": "#ffffff",
"quickInputList.focusBackground": "#89b4fa",
"quickInputList.focusForeground": "#ffffff",
"quickInputTitle.background": "#1a1b2699",
"list.activeSelectionBackground": "#7c3aed99",
"list.activeSelectionForeground": "#ffffff",
"list.hoverBackground": "#1f1f2e99",
"list.hoverForeground": "#ffffff",
"commandCenter.inactiveForeground": "#ffffffcc",
"commandCenter.inactiveBorder": "#7c3aed20",
"titleBar.border": "#7c3aed40",
"statusBar.noFolderBackground": "#5f85bb",
"statusBar.debuggingBackground": "#5f85bb",
"statusBar.foreground": "#ffffff",
"statusBar.debuggingForeground": "#ffffff"
},
// Sets the title bar style
"window.titleBarStyle": "custom",
// Sets the top padding for the editor
"editor.padding.top": 20,
// Preserves the input in the command palette
"workbench.commandPalette.preserveInput": true,
// Enables the command center
"window.commandCenter": true,
// Sets the layout control type
"workbench.layoutControl.type": "menu",
// Sets the menu bar visibility
"window.menuBarVisibility": "compact",
// Sets the location of the activity bar
"workbench.activityBar.location": "top",
// Customizes the title bar overlay
"window.titleBarOverlay": {
"color": "#1a1b2699",
"height": 30
},
// Sets the suggestion selection behavior
"editor.suggestSelection": "first",
// Sets the behavior for accepting suggestions
"editor.acceptSuggestionOnEnter": "smart",
// Sets the tab size for the editor
"editor.tabSize": 4,
// Enables editor decorations
"workbench.editor.decorations.badges": true,
// Enables editor decorations for colors
"workbench.editor.decorations.colors": true,
// Sets the indentation for the tree view
"workbench.tree.indent": 12,
// Always renders indent guides in the tree view
"workbench.tree.renderIndentGuides": "always",
// Enables sticky scroll
"editor.stickyScroll.enabled": true,
// Enables sticky hover
"editor.hover.sticky": true,
// Enables inline suggestions
"editor.inlineSuggest.enabled": true,
// Customizes the quick suggestions
"editor.quickSuggestions": {
"other": "on",
"comments": "on",
"strings": "on"
},
// Enables preview for suggestions
"editor.suggest.preview": true,
// Enables indentation guides
"editor.guides.indentation": true,
// Highlights active indentation
"editor.guides.highlightActiveIndentation": true,
// Sets the tab sizing behavior
"workbench.editor.tabSizing": "shrink",
// Disables wrapping tabs
"workbench.editor.wrapTabs": false,
// Sets the location of the tab close button
"workbench.editor.tabCloseButton": "right",
// Shows multiple tabs
"workbench.editor.showTabs": "multiple",
// Highlights modified tabs
"workbench.editor.highlightModifiedTabs": true,
// Disables custom menu bar alt focus
"window.customMenuBarAltFocus": false,
// Sets the density of the editor tab height
"window.density.editorTabHeight": "compact",
// Sets the default profile for the terminal on macOS
"terminal.integrated.defaultProfile.osx": "zsh",
// Enables GPU acceleration for the terminal
"terminal.integrated.gpuAcceleration": "on",
// Enables cursor blinking in the terminal
"terminal.integrated.cursorBlinking": true,
// Sets the cursor style for the terminal
"terminal.integrated.cursorStyle": "line",
// Sets the font weight for bold text in the terminal
"terminal.integrated.fontWeightBold": "600",
// Enables tabs in the terminal
"terminal.integrated.tabs.enabled": true,
// Sets the location of the terminal tabs
"terminal.integrated.tabs.location": "right",
// Sets the product icon theme
"workbench.productIconTheme": "material-product-icons",
// Hides the horizontal scrollbar
"editor.scrollbar.horizontal": "hidden",
// Hides the vertical scrollbar
"editor.scrollbar.vertical": "hidden",
// Disables the overview ruler border
"editor.overviewRulerBorder": false,
// Hides the cursor in the overview ruler
"editor.hideCursorInOverviewRuler": true,
// Vim core settings
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
// Custom keybindings for insert mode
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"],
"description": "Quick escape from insert mode using 'jj'"
}
],
// Custom keybindings for normal mode with documentation
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<leader>", "d"],
"after": ["d", "d"],
"description": "Quick delete line with space+d"
},
{
"before": ["<C-n>"],
"commands": [":nohl"],
"description": "Clear search highlighting with Ctrl+n"
},
{
"before": ["K"],
"commands": ["lineBreakInsert"],
"silent": true,
"description": "Insert line break with K"
},
// Fast navigation
{
"before": ["<C-u>"],
"after": ["2", "0", "k"],
"description": "Move 20 lines up quickly"
},
{
"before": ["<C-d>"],
"after": ["2", "0", "j"],
"description": "Move 20 lines down quickly"
},
// Word selection shortcuts
{
"before": ["<leader>", "w"],
"after": ["v", "i", "w"],
"description": "Select inner word with space+w"
},
{
"before": ["<leader>", "W"],
"after": ["v", "a", "w"],
"description": "Select word with surrounding space using space+W"
},
// Sentence selection
{
"before": ["<leader>", "s"],
"after": ["v", "i", "s"],
"description": "Select inner sentence with space+s"
},
{
"before": ["<leader>", "S"],
"after": ["v", "a", "s"],
"description": "Select sentence with surrounding space using space+S"
},
// Quick comment toggles
{
"before": ["<leader>", "c", "c"],
"commands": ["editor.action.commentLine"],
"description": "Toggle line comment with space+cc"
},
{
"before": ["<leader>", "c", "b"],
"commands": ["editor.action.blockComment"],
"description": "Toggle block comment with space+cb"
}
],
// Space as leader key for all custom shortcuts
"vim.leader": "<space>",
// Preserve some VS Code default shortcuts
"vim.handleKeys": {
"<C-a>": false, // Select all
"<C-f>": false, // Find
"<C-c>": false, // Copy
"<C-v>": false, // Paste
"<C-x>": false, // Cut
"<C-z>": false // Undo
},
// Additional Vim features
"vim.smartRelativeLine": true,
"vim.sneak": true,
"vim.highlightedyank.enable": true,
"vim.highlightedyank.duration": 200,
"vim.highlightedyank.color": "rgba(250, 240, 170, 0.5)",
"vim.searchHighlightColor": "rgba(250, 240, 170, 0.5)",
// Status bar colors for different modes
"vim.statusBarColorControl": true,
"vim.statusBarColors.normal": "#1f1f2e",
"vim.statusBarColors.insert": "#7c3aed",
"vim.statusBarColors.visual": "#5f85bb",
"vim.statusBarColors.visualline": "#5f85bb",
"vim.statusBarColors.replace": "#f87171",
// Enable camelCase motion
"vim.camelCaseMotion.enable": true,
// Quick text object selections
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["i", "f"],
"after": ["i", "("],
"description": "Select text inside parentheses with if"
},
{
"before": ["i", "b"],
"after": ["i", "{"],
"description": "Select text inside curly braces with ib"
}
],
"workbench.editor.tabActionLocation": "right",
"[dart]": {
// Enables format on save for Dart files
"editor.formatOnSave": true,
// Enables format on type for Dart files
"editor.formatOnType": true,
// Sets the ruler positions for Dart files
"editor.rulers": [80],
// Disables selection highlighting for Dart files
"editor.selectionHighlight": false,
// Enables tab completion for snippets only
"editor.tabCompletion": "onlySnippets",
// Disables word-based suggestions for Dart files
"editor.wordBasedSuggestions": "off"
},
"[cpp]": { "editor.formatOnSave": true, "editor.formatOnType": true },
"[c]": { "editor.formatOnSave": true, "editor.formatOnType": true },
"extensions.experimental.affinity": {
"asvetliakov.vscode-neovim": 1
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"workbench.settings.applyToAllProfiles": []
}