feat(cursor/settings): various tweaks and minor re-organization

This commit is contained in:
2025-03-02 15:14:22 +00:00
parent d0dc7b9068
commit 7cbdf277ff
2 changed files with 67 additions and 12 deletions

View File

@@ -244,7 +244,7 @@
"to": "up", "to": "up",
"by": "halfPage", "by": "halfPage",
"revealCursor": true, "revealCursor": true,
"value": 1, "value": 1
}, },
"when": "editorTextFocus && !suggestWidgetVisible" "when": "editorTextFocus && !suggestWidgetVisible"
}, },

View File

@@ -1,34 +1,89 @@
{ {
// //
// =========================================================================== // ===========================================================================
// Theme // Appearance
// =========================================================================== // ===========================================================================
// //
// Dark/Light mode detection
"window.autoDetectColorScheme": true,
"window.systemColorTheme": "auto",
//
// Theme
"workbench.colorTheme": "One Dark Pro", "workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "material-icon-theme", "workbench.iconTheme": "material-icon-theme",
"workbench.preferredDarkColorTheme": "One Dark Pro",
"workbench.preferredLightColorTheme": "Solarized Light",
//
// ===========================================================================
// Window
// ===========================================================================
//
"window.commandCenter": true,
"window.customTitleBarVisibility": "auto",
"window.nativeFullScreen": false,
"workbench.activityBar.location": "top",
// //
// =========================================================================== // ===========================================================================
// Editor // Editor
// =========================================================================== // ===========================================================================
// //
// Font
"editor.fontFamily": "'Menlo Nerd Font Mono', 'Menlo Nerd Font', Menlo, Monaco, 'Courier New', monospace", "editor.fontFamily": "'Menlo Nerd Font Mono', 'Menlo Nerd Font', Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": false, "editor.fontLigatures": false,
"editor.fontWeight": "normal", "editor.fontWeight": "normal",
"editor.fontSize": 12, "editor.fontSize": 12,
//
// Cursor
"editor.cursorSurroundingLines": 5,
//
// Whitespace
"editor.renderWhitespace": "boundary", "editor.renderWhitespace": "boundary",
//
// Formatting
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.formatOnPaste": true, "editor.formatOnPaste": true,
"editor.formatOnSaveMode": "file",
//
// Rulers
"editor.rulers": [ "editor.rulers": [
80, 80,
100, 100,
120 120
], ],
//
// Semantic Highlighting
"editor.semanticHighlighting.enabled": true, "editor.semanticHighlighting.enabled": true,
//
// Minimap
"editor.minimap.enabled": true, "editor.minimap.enabled": true,
"editor.minimap.showSlider": "always", "editor.minimap.showSlider": "always",
//
// Modified Tabs
"workbench.editor.highlightModifiedTabs": true, "workbench.editor.highlightModifiedTabs": true,
// //
// =========================================================================== // ===========================================================================
// Workbench
// ===========================================================================
//
// Activity Bar
"workbench.activityBar.orientation": "horizontal",
//
// Command Palette
"workbench.commandPalette.history": 250,
"workbench.commandPalette.preserveInput": true,
//
// Hover
"workbench.hover.delay": 200,
//
// Local History
"workbench.localHistory.maxFileEntries": 250,
"workbench.localHistory.maxFileSize": 512,
//
// Tree
"workbench.tree.indent": 18,
"workbench.tree.renderIndentGuides": "always",
//
// ===========================================================================
// Explorer // Explorer
// =========================================================================== // ===========================================================================
// //
@@ -38,14 +93,23 @@
// Files // Files
// =========================================================================== // ===========================================================================
// //
// Associations
"files.associations": { "files.associations": {
"gitconfig": "gitconfig", "gitconfig": "gitconfig",
"gitignore": "gitignore" "gitignore": "gitignore"
}, },
//
// Encoding
"files.autoGuessEncoding": true,
//
// Formatting
"files.insertFinalNewline": true, "files.insertFinalNewline": true,
"files.trimFinalNewlines": true, "files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
// //
// Read-only
"files.readonlyFromPermissions": true,
//
// =========================================================================== // ===========================================================================
// Git // Git
// =========================================================================== // ===========================================================================
@@ -69,22 +133,13 @@
"cursor.general.enableShadowWorkspace": true, "cursor.general.enableShadowWorkspace": true,
// //
// =========================================================================== // ===========================================================================
// Window
// ===========================================================================
//
"window.commandCenter": true,
"window.customTitleBarVisibility": "auto",
"window.nativeFullScreen": false,
"workbench.activityBar.location": "top",
//
// ===========================================================================
// Terminal // Terminal
// =========================================================================== // ===========================================================================
// //
"terminal.integrated.allowChords": false, "terminal.integrated.allowChords": false,
"terminal.integrated.macOptionIsMeta": true, "terminal.integrated.macOptionIsMeta": true,
"terminal.integrated.persistentSessionScrollback": 1000, "terminal.integrated.persistentSessionScrollback": 1000,
"terminal.integrated.scrollback": 10000, "terminal.integrated.scrollback": 50000,
"terminal.integrated.sendKeybindingsToShell": true, "terminal.integrated.sendKeybindingsToShell": true,
// //
// =========================================================================== // ===========================================================================