VSCode のマッピングの設定
VSCode のマッピングの設定
これをするだけで全然変わる
code:neovimの再起動 (init.nvimも再読み込みできる).json
{
"key": "ctrl+shift+e",
"command": "vscode-neovim.restart"
}
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker",
"when": "inFilesPicker && inQuickOpen"
}
code:ファイルエクスプローラーのトグル.json
{
"key": "ctrl+e",
"command": "-vscode-neovim.ctrl-e",
"when": "editorTextFocus && neovim.ctrlKeysNormal.e && neovim.init && neovim.mode != 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'"
},
{
"key": "ctrl+e",
"command": "workbench.view.explorer",
"when": "editorTextFocus && neovim.ctrlKeysNormal.e && neovim.init && neovim.mode != 'insert' && editorLangId not in 'neovim.editorLangIdExclusions'"
},
{
"key": "ctrl+e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "sideBarFocus"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
code:エクスプローラー内での操作.json
// ファイル作成
{
"key": "shift+k",
"command": "explorer.newFile",
"when": "filesExplorerFocus && !inputFocus"
},
// 選択
{
"key": "shift+j",
"command": "list.toggleSelection",
"when": "listFocus && !inputFocus && !treestickyScrollFocused"
},
{
"key": "ctrl+shift+enter",
"command": "-list.toggleSelection",
"when": "listFocus && !inputFocus && !treestickyScrollFocused"
},
code:Git管理のトグル.json
{
"key": "ctrl+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
code:Escでバッファに移動.json
{
"key": "escape",
"command": "workbench.action.focusActiveEditorGroup",
"when": "sideBarFocus"
},
code:VSCodeの再読み込み.json
{
"key": "ctrl+shift+r",
"command": "workbench.action.reloadWindow",
"when": ""
},
copilot 関連
tamago324.icon 2025/1/25 最近、やっと AI を使うようになったから、キーバインドを少し変えている
code:json
// Ctrl+( で切り替え
{
"key": "ctrl+shift+8",
"command": "workbench.action.toggleAuxiliaryBar"
},
{
"key": "ctrl+shift+8",
"command": "workbench.action.focusAuxiliaryBar"
},
{
"key": "ctrl+shift+8",
"command": "workbench.action.closeAuxiliaryBar",
"when": "auxiliaryBarVisible"
},
// Ctrl+N で新しいチャット
{
"key": "ctrl+n",
"command": "workbench.action.chat.newChat",
"when": "chatIsEnabled && inChat"
},
{
"key": "ctrl+l",
"command": "-workbench.action.chat.newChat",
"when": "chatIsEnabled && inChat"
},
// Ctrl+Q でクイックチャット
{
"key": "ctrl+q",
"command": "workbench.action.openQuickChat"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quickOpenView"
},
{
"key": "ctrl+q",
"command": "-workbench.action.quickOpenNavigateNextInViewPicker",
"when": "inQuickOpen && inViewsPicker"
},
// Ctrl+? でコンテキストをアタッチ
{
"key": "ctrl+oem_2",
"command": "-workbench.action.chat.attachContext",
"when": "inChatInput && chatLocation == 'panel' || config.chat.experimental.variables.editor && inChatInput && chatLocation == 'editor' || config.chat.experimental.variables.notebook && inChatInput && chatLocation == 'notebook' || config.chat.experimental.variables.terminal && inChatInput && chatLocation == 'terminal'"
},
{
"key": "ctrl+shift+oem_2",
"command": "workbench.action.chat.attachContext"
}