[[Neovim]]を普段使っている立場として最低限必要なキーバインドについて。 ## keybindings.json (mac) <div class="link-card-v2"> <div class="link-card-v2-site"> <img class="link-card-v2-site-icon" src="https://github.githubassets.com/favicons/favicon.svg" /> <span class="link-card-v2-site-name">GitHub</span> </div> <div class="link-card-v2-title"> toki/mnt/vscode/keybindings.json at main · tadashi-aikawa/toki </div> <div class="link-card-v2-content"> macOSのセットアップ/カスタマイズプロジェクト 誓いの時は来た! 今 わたしは あなた(Windows)を超える!! - tadashi-aikawa/toki ... </div> <img class="link-card-v2-image" src="https://repository-images.githubusercontent.com/977129105/89cc86a4-ebae-4927-8d0e-a1707375fb45" /> <a href="https://github.com/tadashi-aikawa/toki/blob/main/mnt/vscode/keybindings.json"></a> </div> ## keybindings.json (Windows) ```json [ // 設定を開く { "key": "ctrl+j shift+s", "command": "workbench.action.openSettingsJson" }, // キーバインド設定を開く { "key": "ctrl+j shift+k", "command": "workbench.action.openGlobalKeybindingsFile" }, // サイドバー表示切り替え { "key": "alt+w", "command": "workbench.action.toggleSidebarVisibility" }, // コマンドパレット { "key": "alt+e", "command": "workbench.action.showCommands" }, // ワークスペース全文検索 { "key": "ctrl+j g", "command": "workbench.action.findInFiles" }, // ワークスペースのファイルを開く { "key": "ctrl+j e", "command": "workbench.action.quickOpen" }, // 次のタブへ移動 { "key": "alt+l", "command": "workbench.action.nextEditor" }, // 前のタブへ移動 { "key": "alt+h", "command": "workbench.action.previousEditor" }, // クイックフィックス { "key": "alt+enter", "command": "editor.action.quickFix", "when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" }, // 補完 { "key": "shift+space", "command": "simpleAutocomplete.next" }, // 定義表示 { "key": "alt+d", "command": "editor.action.peekDefinition" }, { "key": "alt+s", "command": "editor.action.showHover", "when": "editorTextFocus" }, // パラメータヒント表示 { "key": "ctrl+p", "command": "editor.action.triggerParameterHints", "when": "editorHasSignatureHelpProvider && editorTextFocus" }, // Markdown Preview { "key": "alt+p", "command": "markdown.showPreview" }, // 次のマーカー(診断結果) { "key": "ctrl+shift+j", "command": "editor.action.marker.next", "when": "editorFocus && !editorReadonly" }, // 前のマーカー(診断結果) { "key": "ctrl+shift+k", "command": "editor.action.marker.prev", "when": "editorFocus && !editorReadonly" }, // 次の変更点 { "key": "shift+alt+j", "command": "workbench.action.compareEditor.nextChange", "when": "textCompareEditorVisible || isInDiffEditor" }, // 前の変更点 { "key": "shift+alt+k", "command": "workbench.action.compareEditor.previousChange", "when": "textCompareEditorVisible || isInDiffEditor" }, // ターミナル表示 (<Space>,にしたい) { "key": "ctrl+j t", "command": "workbench.action.terminal.toggleTerminal", "when": "terminal.active" }, // 縦に分割して開く { "key": "ctrl+w s", "command": "workbench.action.splitEditorDown" }, // 横に分割して開く { "key": "ctrl+w v", "command": "workbench.action.splitEditorRight" }, // 現在のタブを閉じる { "key": "ctrl+shift+q", "command": "workbench.action.closeActiveEditor" }, // GitHub Copilotの補完確定 { "key": "alt+k", "command": "editor.action.inlineSuggest.commit", }, { "key": "alt+k", "command": "-keybindings.editor.recordSearchKeys", }, { "key": "alt+k", "command": "-editor.action.accessibilityHelpConfigureKeybindings", }, { "key": "tab", "command": "-editor.action.inlineSuggest.commit", }, ] ```