keybinds.json
| |
| [ |
| |
| { |
| "key": "alt+j", |
| "command": "cursorLeft", |
| "when": "textInputFocus" |
| }, |
| { |
| "key": "alt+k", |
| "command": "cursorDown", |
| "when": "textInputFocus" |
| }, |
| { |
| "key": "alt+l", |
| "command": "cursorRight", |
| "when": "textInputFocus" |
| }, |
| { |
| "key": "alt+i", |
| "command": "cursorUp", |
| "when": "textInputFocus" |
| }, |
| |
| { |
| "key": "ctrl+;", |
| "command": "workbench.view.explorer", |
| "when": "viewContainer.workbench.view.explorer.enabled" |
| }, |
| |
| { |
| "key": "ctrl+'", |
| "command": "workbench.action.focusFirstEditorGroup" |
| }, |
| |
| { |
| "key": "ctrl+,", |
| "command": "workbench.action.terminal.toggleTerminal", |
| "when": "terminal.active" |
| }, |
| |
| { |
| "key": "ctrl+shift+,", |
| "command": "workbench.action.terminal.new", |
| "when": "terminalProcessSupported || terminalWebExtensionContributedProfile" |
| }, |
| |
| { |
| "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": "y", |
| "command": "filesExplorer.copy", |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus" |
| }, |
| |
| { |
| "key": "p", |
| "command": "filesExplorer.paste", |
| "when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus" |
| }, |
| |
| { |
| "key": "ctrl+m", |
| "command": "workbench.action.maximizeEditor" |
| }, |
| |
| { |
| "key": "ctrl+r", |
| "command": "code-runner.run" |
| } |
| ] |
settings.json
| { |
| "[vue]": { |
| "editor.defaultFormatter": "esbenp.prettier-vscode" |
| }, |
| "[typescript]": { |
| "editor.defaultFormatter": "esbenp.prettier-vscode" |
| }, |
| "editor.formatOnSave": true, |
| "editor.lineNumbers": "relative", |
| "[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.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>", "q", "f"], |
| "commands": ["editor.action.quickFix"] |
| }, |
| |
| { |
| "before": ["<leader>", "r", "n"], |
| "commands": ["editor.action.rename"] |
| }, |
| |
| { |
| "before": ["<leader>", "f", "m"], |
| "commands": ["editor.action.formatDocument"] |
| }, |
| |
| |
| { |
| "before": ["g", "r"], |
| "commands": ["editor.action.goToReferences"] |
| }, |
| |
| |
| |
| { |
| "before": ["<Leader>", "n", "d"], |
| "commands": ["explorer.newFolder"] |
| }, |
| |
| { |
| "before": ["<Leader>", "n", "f"], |
| "commands": ["explorer.newFile"] |
| }, |
| |
| |
| |
| { |
| "before": ["<leader>", "o", "e"], |
| "commands": ["workbench.view.explorer"] |
| }, |
| |
| { |
| "before": ["<leader>", "o", "s"], |
| "commands": ["workbench.action.quickOpen"] |
| }, |
| |
| { |
| "before": ["<leader>", "o", "t"], |
| "commands": ["workbench.action.terminal.toggleTerminal"] |
| }, |
| |
| { |
| "before": ["<leader>", "o", "T"], |
| "commands": ["workbench.action.terminal.new"] |
| }, |
| |
| { |
| "before": ["<leader>", "o", "t"], |
| "commands": ["workbench.action.togglePanel"] |
| }, |
| |
| |
| { |
| "before": ["<leader>", "f", "a"], |
| "commands": ["workbench.action.findInFiles"] |
| }, |
| |
| |
| |
| { |
| "before": ["<leader>", "h"], |
| "commands": ["workbench.action.navigateLeft"] |
| }, |
| { |
| "before": ["<leader>", "l"], |
| "commands": ["workbench.action.navigateRight"] |
| }, |
| |
| { |
| "before": ["J"], |
| "commands": ["workbench.action.nextEditor"] |
| }, |
| |
| { |
| "before": ["K"], |
| "commands": ["workbench.action.previousEditor"] |
| }, |
| |
| { |
| "before": ["<space>", "'"], |
| "commands": ["workbench.action.maximizeEditor"] |
| }, |
| |
| { |
| "before": ["<space>", "s"], |
| "commands": ["workbench.action.files.save"] |
| }, |
| { |
| "before": ["g", "b"], |
| "commands": ["workbench.action.navigateBack"], |
| "when": "canNavigateBack" |
| }, |
| |
| { |
| "before": ["<space>", "w", "c"], |
| "commands": ["workbench.action.closeActiveEditor"] |
| }, |
| |
| { |
| "before": ["<space>", "w", "a"], |
| "commands": ["workbench.action.closeAllEditors"] |
| }, |
| |
| { |
| "before": ["<space>", "q", "f"], |
| "commands": ["editor.action.quickFix"] |
| } |
| ], |
| "vim.insertModeKeyBindings": [ |
| |
| { |
| "before": ["j", "k"], |
| "after": ["<Esc>"] |
| } |
| ], |
| "vim.visualModeKeyBindingsNonRecursive": [ |
| |
| { |
| "before": ["H"], |
| "after": ["^"] |
| }, |
| |
| { |
| "before": ["L"], |
| "after": ["$"] |
| } |
| ], |
| "vim.digraphs": {}, |
| "vim.commandLineModeKeyBindings": [], |
| "vim.commandLineModeKeyBindingsNonRecursive": [], |
| "[jsonc]": { |
| "editor.defaultFormatter": "esbenp.prettier-vscode" |
| }, |
| "[html]": { |
| "editor.defaultFormatter": "vscode.html-language-features" |
| }, |
| |
| "EnglishChineseDictionary.enableHover": true, |
| "security.workspace.trust.untrustedFiles": "open", |
| "[json]": { |
| "editor.defaultFormatter": "vscode.json-language-features" |
| }, |
| "liveServer.settings.donotShowInfoMsg": true, |
| "typescript.updateImportsOnFileMove.enabled": "always", |
| "javascript.updateImportsOnFileMove.enabled": "always", |
| "workbench.colorTheme": "Monokai", |
| "[python]": { |
| "editor.defaultFormatter": "ms-python.python" |
| }, |
| |
| "files.exclude": { |
| "**/.git": true, |
| "**/.svn": true, |
| "**/.hg": true, |
| "**/CVS": true, |
| "**/.DS_Store": true, |
| "**/Thumbs.db": true, |
| "**/__pycache__": true, |
| "**/.idea": true |
| } |
| } |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 清华大学推出第四讲使用 DeepSeek + DeepResearch 让科研像聊天一样简单!
· 推荐几款开源且免费的 .NET MAUI 组件库
· 实操Deepseek接入个人知识库
· 易语言 —— 开山篇
· Trae初体验