Forked from adamhill/gist:a584dffc61c4ad66423bf67904a53c95
Last active
March 29, 2025 11:19
-
-
Save shrwnsan/1d8cdff07aab0aefa800e95ea781c0d5 to your computer and use it in GitHub Desktop.
VS Code Diff Settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaults | |
[ | |
{ | |
// Toggle terminal | |
"key": "ctrl+m", | |
"command": "editor.action.toggleMinimap" | |
}, | |
{ | |
// Toggle terminal | |
"key": "ctrl+shift+s", | |
"command": "workbench.view.scm" | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Enable the minimap to show change indicators alongside your code. | |
"editor.minimap.enabled": true, | |
// Show Git decorations in editors, file explorer, and other UI elements. | |
"git.decorations.enabled": true, | |
// Configure the diff editor to show changes side by side for better visualization. | |
"diffEditor.renderSideBySide": true, | |
// Enable CodeLens in diff views for additional context about changes. | |
"diffEditor.codeLens": true, | |
// Show line changes in the editor gutter (left margin). | |
"scm.diffDecorations": "all", | |
// Control the visibility of diff decorations in the gutter. | |
"scm.diffDecorationsGutterVisibility": "always" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment