Skip to content

Instantly share code, notes, and snippets.

@vonWolfehaus
Last active November 5, 2020 20:08
Show Gist options
  • Save vonWolfehaus/b6fcfb9e4b413ee7f054731eb9d45164 to your computer and use it in GitHub Desktop.
Save vonWolfehaus/b6fcfb9e4b413ee7f054731eb9d45164 to your computer and use it in GitHub Desktop.
VS Code prefs
// Place your settings in this file to overwrite the default settings
{
"workbench.startupEditor": "newUntitledFile",
"files.associations": {
"*.js6": "javascriptreact"
},
"editor.multiCursorModifier": "ctrlCmd",
"editor.wordWrap": "on",
"editor.minimap.showSlider": "always",
"editor.minimap.renderCharacters": false,
"editor.mouseWheelScrollSensitivity": 2,
"editor.fontFamily": "Ubuntu Mono",
"editor.fontSize": 14,
"editor.hover.enabled": false,
"telemetry.enableTelemetry": false,
"editor.scrollbar.verticalScrollbarSize": 0,
"workbench.colorCustomizations": {
"statusBar.background": "#333333",
"scrollbarSlider.background": "#8b8b8b",
"scrollbarSlider.hoverBackground": "#626262"
},
"vetur.validation.template": false,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true
},
],
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"terminal.integrated.scrollback": 2000,
"window.zoomLevel": 2,
"explorer.confirmDelete": false,
"files.trimTrailingWhitespace": true,
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"explorer.confirmDragAndDrop": false,
"editor.codeLens": false,
"editor.smoothScrolling": true,
"window.smoothScrollingWorkaround": true,
"editor.acceptSuggestionOnEnter": "off"
}
@vonWolfehaus
Copy link
Author

Since I use UHD displays, I use zoom: 2 and add this param to the shortcut: --force-device-scale-factor=1.0. This fixes smooth scrolling on UHD displays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment