0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

vscodeオレオレ設定

Last updated at Posted at 2024-09-03

設定

settings.json
{
    "code-eol.color":"#6ACBFF",                             //改行コードの色味を変更
    "editor.bracketPairColorization.enabled": true,
    "editor.insertSpaces": false,                           //タブキー入力時のタブ文字有効化
    "editor.minimap.enabled":false,                         //ミニマップオフ
    "editor.renderWhitespace": "all",                       //行頭・文字間・行末のスペース強調
    "explorer.confirmDelete": false,
    "explorer.confirmDragAndDrop": false,
    "markdown.preview.breaks": true,                        //マークダウン改行コード適用
    "[markdown]": {
        "editor.defaultFormatter": "yzhang.markdown-all-in-one"
    },
    "markdownlint.config": {
        "MD010":false,
        "MD033":false,
        "MD034":false,
        "MD041":false
    },
    "[python]": {
        "editor.formatOnType": true
    },
    "security.workspace.trust.untrustedFiles": "open",
    "terminal.integrated.defaultProfile.windows": "Git Bash",
    "workbench.startupEditor": "none",
    "workbench.iconTheme": "material-icon-theme",
    "workbench.colorTheme": "Monokai",
    "editor.accessibilitySupport": "off",
    "workbench.settings.applyToAllProfiles": [
        "editor.fontFamily"
    ],
    "editor.fontFamily": "'Yu Gothic UI',Consolas,'Courier New',monospace",
    "editor.fontLigatures": false
}

キーボードショートカット

keybindings.json

// 既定値を上書きするには、このファイル内にキー バインドを挿入します
[
    {// ディレクトリバー表示
        "key": "ctrl+alt+b",
        "command": "workbench.action.toggleSidebarVisibility"
    },
    {
        "key": "ctrl+b",
        "command": "-workbench.action.toggleSidebarVisibility"
    },
    {// 新規ファイル作成
        "key": "ctrl+n",
        "command": "explorer.newFile"
    },
    {
        "key": "ctrl+n",
        "command": "-workbench.action.files.newUntitledFile"
    },
    {// 新規フォルダ作成
        "key": "ctrl+alt+n",
        "command": "explorer.newFold"
    },
    {// エンコーディング設定
        "key": "ctrl+alt+e",
        "command": "workbench.action.editor.changeEncoding"
    },
    {// 次のエディタ画面に移動する
        "key": "ctrl+tab",
        "command": "workbench.action.nextEditor"
    },
    {// 次のエディタ画面に移動する
        "key": "ctrl+shift+tab",
        "command": "workbench.action.previousEditor"
    },
    {// Markdownファイルでshift + Enterを押下するとスペース2つが入力されたうえで改行される(直に<br>を入力しても良い)
        "key": "shift+enter",
        "command": "type",
        "args": { "text": "  \n" },
        "when": "editorTextFocus && editorLangId == 'markdown'"
    },
//エディタ分割系
    {//エディタを右に分割する
        "key": "ctrl+m ctrl+r",
        "command": "workbench.action.splitEditorRight"
    },
    {//エディタを下に分割する
        "key": "ctrl+m ctrl+d",
        "command": "workbench.action.splitEditorDown"
    },
    {//エディタを左に分割する
        "key": "ctrl+m ctrl+l",
        "command": "workbench.action.splitEditorLeft"
    },
    {//エディタを上に分割する
        "key": "ctrl+m ctrl+u",
        "command": "workbench.action.splitEditorUp"
    },
        {//エディタを右に分割するで生まれたやつ
            "key": "ctrl+k ctrl+oem_5",
            "command": "-workbench.action.splitEditorRight"
        },
        {//エディタを下に分割するで生まれたやつ
            "key": "ctrl+k ctrl+oem_5",
            "command": "-workbench.action.splitEditorDown"
        },
        {//エディタを左に分割するで生まれたやつ
            "key": "ctrl+k ctrl+oem_5",
            "command": "-workbench.action.splitEditorLeft"
        },
        {//エディタを上に分割するで生まれたやつ
            "key": "ctrl+k ctrl+oem_5",
            "command": "-workbench.action.splitEditorUp"
        },
//エディタフォーカス移動系
    {//エディタを右にフォーカス移動する
        "key": "alt+m alt+r",
        "command": "workbench.action.focusRightGroup"
    },
    {//エディタを下にフォーカス移動する
        "key": "alt+m alt+d",
        "command": "workbench.action.focusBelowGroup"
    },
    {//エディタを左にフォーカス移動する
        "key": "alt+m alt+l",
        "command": "workbench.action.focusLeftGroup"
    },
    {//エディタを上にフォーカス移動する
        "key": "alt+m alt+u",
        "command": "workbench.action.focusAboveGroup"
    },
        {//エディタを右にフォーカス移動するで生まれたやつ
            "key": "ctrl+k ctrl+right",
            "command": "-workbench.action.focusRightGroup"
        },
        {//エディタを下にフォーカス移動するで生まれたやつ
            "key": "ctrl+k ctrl+down",
            "command": "-workbench.action.focusBelowGroup"
        },
        {//エディタを左にフォーカス移動するで生まれたやつ
            "key": "ctrl+k ctrl+left",
            "command": "-workbench.action.focusLeftGroup"
        },
        {//エディタを上にフォーカス移動するで生まれたやつ
        "key": "ctrl+k ctrl+up",
        "command": "-workbench.action.focusAboveGroup"
        }
]
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?