Cursor(VS Code) 偏好设置

settings.json

{
    "window.autoDetectColorScheme": true,
    "workbench.preferredLightColorTheme": "Islands Dark",
    "explorer.compactFolders": false,
    "workbench.tree.indent": 15,
    "workbench.tree.renderIndentGuides": "onHover",
}

keybindings.json

// Place your key bindings in this file to override the defaults
[
    /* ctrl+r */
    {
        "key": "ctrl+r", // 关闭 打开最近打开的文件(快捷键留给 Refresh Explorer)
        "command": "-workbench.action.openRecent"
    },
    {
        "key": "ctrl+r", // 执行 Refresh Explorer(快速定位文件位置)
        "command": "workbench.files.action.refreshFilesExplorer"
    },
    /* ctrl+shift+d */
    {
        "key": "ctrl+shift+d", // 修改 打开 Run and Debug 快捷键
        "command": "-workbench.view.debug",
        "when": "viewContainer.workbench.view.debug.enabled"
    },
    {
        "key": "ctrl+shift+d", // 修改 打开 Run and Debug 快捷键(在文本编辑器非聚焦的时候)
        "command": "workbench.view.debug",
        "when": "viewContainer.workbench.view.debug.enabled && !editorTextFocus"
    },
    {
        "key": "shift+alt+down", // 关闭 复制到下一行 默认快捷键
        "command": "-editor.action.copyLinesDownAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+shift+d", // 修改 复制到下一行 默认快捷键
        "command": "editor.action.copyLinesDownAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    /* ctrl+l */
    /*
    {
        "key": "ctrl+l", // 在 Terminal 中清屏(这个有 bug, 在输入的时候会跳行显示)
        "command": "workbench.action.terminal.clear",
        "when": "terminalFocus"
    },
    */
    {
        "key": "ctrl+l", // 在 Terminal 中清屏
        "command": "workbench.action.terminal.sendSequence",
        "args": {
            "text": "cls\r"
        },
        "when": "terminalFocus"
    },
    /* ctrl+shift+b */
    {
        "key": "ctrl+shift+b", // 关闭 打开浏览器标签页(快捷键留给 任务)
        "command": "-composer.openBrowserTab",
        "when": "!isGlass"
    }
]