keybindings.json
| |
| [ |
| |
| |
| { |
| "key": "ctrl+,", |
| "command": "workbench.action.terminal.toggleTerminal", |
| "when": "terminal.active" |
| }, |
| |
| { |
| "key": "ctrl+shift+,", |
| "command": "workbench.action.terminal.new", |
| "when": "terminalProcessSupported || terminalWebExtensionContributedProfile" |
| }, |
| { |
| "key": "alt+j", |
| "command": "workbench.action.terminal.focusNext", |
| "when": "terminalFocus" |
| }, |
| { |
| "key": "alt+k", |
| "command": "workbench.action.terminal.focusPrevious", |
| "when": "terminalFocus" |
| }, |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| { |
| "key": "ctrl+'", |
| "command": "workbench.action.focusFirstEditorGroup" |
| }, |
| |
| { |
| "command": "workbench.action.focusFirstEditorGroup", |
| "key": "ctrl+;", |
| }, |
| { |
| "command": "workbench.files.action.focusFilesExplorer", |
| "key": "ctrl+;", |
| "when": "editorTextFocus" |
| }, |
| { |
| "key": "ctrl+shift+j", |
| "command": "workbench.action.togglePanel" |
| }, |
| |
| { |
| "key": "a", |
| "command": "explorer.newFile", |
| "when": "filesExplorerFocus && !inputFocus" |
| }, |
| |
| { |
| "key": "shift+a", |
| "command": "explorer.newFolder", |
| "when": "filesExplorerFocus && !inputFocus" |
| }, |
| |
| { |
| "key": "r", |
| "command": "renameFile", |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !explorerResourceReadonly && !inputFocus" |
| }, |
| |
| { |
| "key": "d", |
| "command": "deleteFile", |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" |
| }, |
| |
| |
| { |
| "key": "ctrl+m", |
| "command": "workbench.action.maximizeEditor" |
| }, |
| |
| |
| { |
| "key": "ctrl+r", |
| "command": "code-runner.run" |
| }, |
| { |
| "key": "y", |
| "command": "filesExplorer.copy", |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" |
| }, |
| { |
| "key": "p", |
| "command": "filesExplorer.paste", |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" |
| }, |
| { |
| "key": "ctrl+s", |
| "command": "workbench.action.files.save" |
| }, |
| { |
| "key": "ctrl+/", |
| "command": "-workbench.action.terminal.sendSequence", |
| "when": "terminalFocus" |
| }, |
| { |
| "key": "ctrl+/", |
| "command": "editor.action.commentLine", |
| "when": "editorTextFocus && !editorReadonly" |
| }, |
| { |
| "key": "cmd+/", |
| "command": "-editor.action.commentLine", |
| "when": "editorTextFocus && !editorReadonly" |
| } |
| ] |
| |
settings.json
| { |
| |
| "[markdown]": { |
| "editor.quickSuggestions": { |
| "comments": "on", |
| "strings": "on", |
| "other": "on" |
| } |
| }, |
| |
| "code-runner.runInTerminal": true, |
| "code-runner.executorMap": { |
| "javascript": "node", |
| "java": "cd $dir && javac $fileName && java $fileNameWithoutExt", |
| "c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "zig": "zig run", |
| "cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "php": "php", |
| "python": "python -u", |
| "perl": "perl", |
| "perl6": "perl6", |
| "ruby": "ruby", |
| "go": "go run", |
| "lua": "lua", |
| "groovy": "groovy", |
| "powershell": "powershell -ExecutionPolicy ByPass -File", |
| "bat": "cmd /c", |
| "shellscript": "bash", |
| "fsharp": "fsi", |
| "csharp": "scriptcs", |
| "vbscript": "cscript //Nologo", |
| "typescript": "ts-node", |
| "coffeescript": "coffee", |
| "scala": "scala", |
| "swift": "swift", |
| "julia": "julia", |
| "crystal": "crystal", |
| "ocaml": "ocaml", |
| "r": "Rscript", |
| "applescript": "osascript", |
| "clojure": "lein exec", |
| "haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", |
| "rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", |
| "racket": "racket", |
| "scheme": "csi -script", |
| "ahk": "autohotkey", |
| "autoit": "autoit3", |
| "dart": "dart", |
| "pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", |
| "d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", |
| "haskell": "runghc", |
| "nim": "nim compile --verbosity:0 --hints:off --run", |
| "lisp": "sbcl --script", |
| "kit": "kitc --run", |
| "v": "v run", |
| "sass": "sass --style expanded", |
| "scss": "scss --style expanded", |
| "less": "cd $dir && lessc $fileName $fileNameWithoutExt.css", |
| "FortranFreeForm": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "fortran-modern": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "fortran_fixed-form": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "fortran": "cd $dir && gfortran $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", |
| "sml": "cd $dir && sml $fileName" |
| }, |
| |
| |
| |
| "python.formatting.yapfArgs": [ |
| "--style", |
| "{column_limit: 150}" |
| ], |
| |
| "python.formatting.provider": "autopep8", |
| "python.formatting.autopep8Args": [ |
| "--max-line-length=150" |
| ], |
| |
| |
| "python.formatting.blackArgs": [ |
| "--line-length", |
| "150" |
| ], |
| |
| "[vue]": { |
| "editor.defaultFormatter": "esbenp.prettier-vscode" |
| }, |
| "[typescript]": { |
| "editor.defaultFormatter": "vscode.typescript-language-features" |
| }, |
| "editor.lineNumbers": "on", |
| "[javascript]": { |
| "editor.defaultFormatter": "esbenp.prettier-vscode" |
| }, |
| |
| |
| "vim.leader": "<space>", |
| "vim.useSystemClipboard": true, |
| "vim.hlsearch": true, |
| "vim.highlightedyank.enable": true, |
| "vim.foldfix": true, |
| "vim.easymotion": true, |
| "vim.incsearch": true, |
| "vim.useCtrlKeys": true, |
| "vim.surround": true, |
| "vim.sneak": true, |
| "vim.sneakUseIgnorecaseAndSmartcase": true, |
| |
| "vim.autoSwitchInputMethod.enable": true, |
| "vim.autoSwitchInputMethod.defaultIM": "com.apple.keylayout.ABC", |
| "vim.autoSwitchInputMethod.obtainIMCmd": "/opt/homebrew/bin/im-select", |
| "vim.autoSwitchInputMethod.switchIMCmd": "/opt/homebrew/bin/im-select {im}", |
| |
| |
| "vim.normalModeKeyBindingsNonRecursive": [ |
| |
| { |
| "before": [ |
| "H" |
| ], |
| "after": [ |
| "^" |
| ] |
| }, |
| { |
| "before": [ |
| "L" |
| ], |
| "after": [ |
| "$" |
| ] |
| }, |
| |
| |
| { |
| "before": [ |
| "[", |
| "c" |
| ], |
| "commands": [ |
| "workbench.action.editor.previousChange" |
| ] |
| }, |
| { |
| "before": [ |
| "]", |
| "c" |
| ], |
| "commands": [ |
| "workbench.action.editor.nextChange" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "<leader>", |
| "s", |
| "a" |
| ], |
| "commands": [ |
| "editor.action.sourceAction" |
| ] |
| }, |
| { |
| "before": [ |
| "<space>", |
| "r", |
| "r" |
| ], |
| "commands": [ |
| |
| |
| "code-runner.run" |
| ] |
| }, |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "r", |
| "n" |
| ], |
| "commands": [ |
| "editor.action.rename" |
| ] |
| }, |
| |
| |
| { |
| "before": [ |
| "g", |
| "r" |
| ], |
| "commands": [ |
| "editor.action.goToReferences" |
| ] |
| }, |
| { |
| "before": [ |
| "g", |
| "e" |
| ], |
| "commands": [ |
| "editor.action.marker.next" |
| ], |
| "when": "editorFocus" |
| }, |
| { |
| "before": [ |
| "g", |
| "E" |
| ], |
| "commands": [ |
| "editor.action.marker.prev" |
| ], |
| "when": "editorFocus" |
| }, |
| |
| |
| |
| { |
| "before": ["<Leader>", "n", "d"], |
| "commands": ["explorer.newFolder"] |
| }, |
| |
| { |
| "before": ["<Leader>", "n", "f"], |
| "commands": ["explorer.newFile"] |
| }, |
| |
| |
| |
| |
| { |
| "before": ["<leader>", "e"], |
| "commands": ["workbench.view.explorer"] |
| }, |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "t", |
| "t" |
| ], |
| "commands": [ |
| "workbench.action.terminal.toggleTerminal" |
| ] |
| }, |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "t", |
| "n" |
| ], |
| "commands": [ |
| "workbench.action.terminal.new" |
| ] |
| }, |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "t", |
| "h" |
| ], |
| "commands": [ |
| "workbench.action.togglePanel" |
| ] |
| }, |
| |
| |
| |
| |
| |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "h" |
| ], |
| "commands": [ |
| "workbench.action.navigateLeft" |
| ] |
| }, |
| { |
| "before": [ |
| "<leader>", |
| "l" |
| ], |
| "commands": [ |
| "workbench.action.navigateRight" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "J" |
| ], |
| |
| "commands": [ |
| ":bnext" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "K" |
| ], |
| |
| "commands": [ |
| ":bprevious" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "<space>", |
| "v" |
| ], |
| "commands": [ |
| ":vsplit" |
| ] |
| }, |
| { |
| "before": [ |
| "<space>", |
| "s" |
| ], |
| "commands": [ |
| ":split" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "<space>", |
| "h" |
| ], |
| "commands": [ |
| "workbench.action.focusLeftGroup" |
| ] |
| }, |
| { |
| "before": [ |
| "<space>", |
| "j" |
| ], |
| "commands": [ |
| "workbench.action.focusBelowGroup" |
| ] |
| }, |
| { |
| "before": [ |
| "<space>", |
| "k" |
| ], |
| "commands": [ |
| "workbench.action.focusAboveGroup" |
| ] |
| }, |
| { |
| "before": [ |
| "<space>", |
| "l" |
| ], |
| "commands": [ |
| "workbench.action.focusRightGroup" |
| ] |
| }, |
| |
| { |
| "before": ["<space>", "m"], |
| "commands": ["workbench.action.maximizeEditor"] |
| }, |
| |
| { |
| "before": [ |
| "g", |
| "b" |
| ], |
| "commands": [ |
| "workbench.action.navigateBack" |
| ], |
| "when": "canNavigateBack" |
| }, |
| |
| |
| { |
| "before": [ |
| "<space>", |
| "q", |
| "f" |
| ], |
| "commands": [ |
| "editor.action.quickFix" |
| ] |
| }, |
| { |
| "before": [ |
| "<space>", |
| "c", |
| "p" |
| ], |
| "commands": [ |
| "copyFilePath" |
| ], |
| "when": "!editorFocus" |
| }, |
| |
| |
| |
| |
| |
| |
| { |
| "before": [ |
| "leader", |
| "w" |
| ], |
| "commands": [ |
| ":w!" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "leader", |
| "q" |
| ], |
| "commands": [ |
| ":q!" |
| ] |
| }, |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| { |
| "before": ["<space>", "c", "c"], |
| "commands": ["workbench.action.closeActiveEditor"] |
| }, |
| |
| { |
| "before": ["<space>", "c", "o"], |
| "commands": ["workbench.action.closeOtherEditors"] |
| }, |
| |
| { |
| "before": ["<space>", "c", "r"], |
| "commands": ["workbench.action.closeEditorsToTheRight"] |
| }, |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "o" |
| ], |
| "commands": [ |
| "workbench.action.quickOpen" |
| ] |
| }, |
| |
| |
| { |
| "before": ["<leader>", "f", "a"], |
| "commands": ["workbench.action.findInFiles"] |
| }, |
| |
| |
| { |
| "before": [ |
| "<leader>", |
| "f", |
| "m", |
| ], |
| "commands": [ |
| "editor.action.formatDocument" |
| ] |
| }, |
| ], |
| "vim.insertModeKeyBindings": [ |
| |
| { |
| "before": [ |
| "j", |
| "k" |
| ], |
| "after": [ |
| "<Esc>" |
| ] |
| } |
| ], |
| "vim.visualModeKeyBindingsNonRecursive": [ |
| |
| { |
| "before": [ |
| "<" |
| ], |
| "commands": [ |
| "editor.action.outdentLines" |
| ] |
| }, |
| { |
| "before": [ |
| ">" |
| ], |
| "commands": [ |
| "editor.action.indentLines" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "J" |
| ], |
| "commands": [ |
| "editor.action.moveLinesDownAction" |
| ] |
| }, |
| { |
| "before": [ |
| "K" |
| ], |
| "commands": [ |
| "editor.action.moveLinesUpAction" |
| ] |
| }, |
| |
| { |
| "before": [ |
| "leader", |
| "c" |
| ], |
| "commands": [ |
| "editor.action.commentLine" |
| ] |
| }, |
| { |
| "before": [ |
| "H" |
| ], |
| "after": [ |
| "^" |
| ] |
| }, |
| { |
| "before": [ |
| "L" |
| ], |
| "after": [ |
| "$" |
| ] |
| }, |
| ], |
| "vim.digraphs": {}, |
| "vim.commandLineModeKeyBindings": [], |
| "vim.commandLineModeKeyBindingsNonRecursive": [], |
| |
| "[jsonc]": { |
| "editor.defaultFormatter": "vscode.json-language-features" |
| }, |
| "[html]": { |
| "editor.defaultFormatter": "vscode.html-language-features" |
| }, |
| "security.workspace.trust.untrustedFiles": "open", |
| "[json]": { |
| "editor.defaultFormatter": "vscode.json-language-features" |
| }, |
| "liveServer.settings.donotShowInfoMsg": true, |
| "typescript.updateImportsOnFileMove.enabled": "always", |
| "javascript.updateImportsOnFileMove.enabled": "always", |
| "[python]": { |
| "editor.defaultFormatter": "ms-python.python", |
| "editor.formatOnType": true |
| }, |
| |
| |
| "files.exclude": { |
| "**/__pycache__": true, |
| "**/.DS_Store": true, |
| "**/.hg": true, |
| "**/.idea": true, |
| "**/.svn": true, |
| "**/bin": true, |
| "**/CVS": true, |
| "**/obj": true, |
| "**/Thumbs.db": true |
| }, |
| "editor.suggestSelection": "first", |
| "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", |
| |
| "editor.fontSize": 14, |
| "npm.keybindingsChangedWarningShown": true, |
| "tabnine.experimentalAutoImports": true, |
| "go.formatTool": "goimports", |
| "cnblogsClientForVSCode.macos.workspace": "/Users/song/Documents/SimpRead", |
| "[scss]": { |
| "editor.defaultFormatter": "michelemelluso.code-beautifier" |
| }, |
| "glsllint.glslangValidatorPath": "/Users/song/glslang-main-osx-Release/bin/glslangValidator", |
| "cnblogsClientForVSCode.automaticallyExtractImages": "all", |
| "svelte.enable-ts-plugin": true, |
| "codeTranslator.baiduAppKey": "20230520001684049", |
| "codeTranslator.baiduAppSecret": "9S0lRfJySUi8xPtipMBv", |
| "tktbtranslation.baidu.appid": "20230520001684049", |
| "tktbtranslation.baidu.keyBaido": "9S0lRfJySUi8xPtipMBv", |
| "EnglishChineseDictionary.enableHover": true, |
| "markdown.marp.enableHtml": true, |
| "python.languageServer": "Pylance", |
| "workbench.colorTheme": "Default Dark+", |
| "explorer.confirmDelete": false, |
| "editor.minimap.enabled": false, |
| "editor.formatOnType": true, |
| "editor.formatOnSave": true, |
| "idf.espIdfPath": "/Users/song/esp/esp-idf", |
| "idf.pythonBinPath": "/Users/song/.espressif/python_env/idf5.1_py3.11_env/bin/python", |
| "idf.toolsPath": "/Users/song/.espressif", |
| "idf.customExtraPaths": "/Users/song/.espressif/tools/xtensa-esp-elf-gdb/12.1_20221002/xtensa-esp-elf-gdb/bin:/Users/song/.espressif/tools/riscv32-esp-elf-gdb/12.1_20221002/riscv32-esp-elf-gdb/bin:/Users/song/.espressif/tools/xtensa-esp32-elf/esp-12.2.0_20230208/xtensa-esp32-elf/bin:/Users/song/.espressif/tools/xtensa-esp32s2-elf/esp-12.2.0_20230208/xtensa-esp32s2-elf/bin:/Users/song/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin:/Users/song/.espressif/tools/riscv32-esp-elf/esp-12.2.0_20230208/riscv32-esp-elf/bin:/Users/song/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/Users/song/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin:/Users/song/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/bin:/Users/song/.espressif/tools/ninja/1.10.2:/Users/song/.espressif/tools/esp-rom-elfs/20230320", |
| "idf.customExtraVars": { |
| "OPENOCD_SCRIPTS": "/Users/song/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230419/openocd-esp32/share/openocd/scripts", |
| "ESP_ROM_ELF_DIR": "/Users/song/.espressif/tools/esp-rom-elfs/20230320/" |
| }, |
| "idf.gitPath": "git", |
| "files.watcherExclude": { |
| "**/obj": true |
| }, |
| "json.format.enable": false |
| } |
| |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· PowerShell开发游戏 · 打蜜蜂
· 在鹅厂做java开发是什么体验
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战