VSCodeの設定メモ
端末変わったとき用の自分向けメモです。
ショートカットと、単語区切りの設定だけとりあえず。
ショートカット設定
[
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+left",
"command": "cursorWordPartLeft"
},
{
"key": "ctrl+shift+left",
"command": "cursorWordPartLeftSelect"
},
{
"key": "ctrl+right",
"command": "cursorWordPartRight"
},
{
"key": "ctrl+shift+right",
"command": "cursorWordPartRightSelect"
},
{
"key": "ctrl+shift+alt+w",
"command": "workbench.action.closeWindow"
},
{
"key": "ctrl+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "ctrl+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+shift+c",
"command": "editor.action.commentLine"
},
{
"key": "ctrl+oem_2",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
}
]
その他設定
単語区切り
ctrl + ←, → での移動範囲設定
日本語や全角文字を入れておいたほうがいろいろ便利
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-、。「」【】『』()!? てにをはがのともへでや"