{
    "actions":
    [
        // Foreground
        {
            "command":
            {
                "action": "experimental.colorSelection"
                // default fg and bg (i07 and i00)
            },
            "keys": "alt+1",
            "id": "Terminal.ColorSelectionDefaultFgAndBg"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i08"
            },
            "keys": "alt+2",
            "id": "Terminal.ColorSelectionFgIndex8"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i0c"
            },
            "keys": "alt+3",
            "id": "Terminal.ColorSelectionFgIndex12"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i0a"
            },
            "keys": "alt+4",
            "id": "Terminal.ColorSelectionFgIndex10"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i0e"
            },
            "keys": "alt+5",
            "id": "Terminal.ColorSelectionFgIndex14"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i09"
            },
            "keys": "alt+6",
            "id": "Terminal.ColorSelectionFgIndex9"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i0d"
            },
            "keys": "alt+7",
            "id": "Terminal.ColorSelectionFgIndex13"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i0b"
            },
            "keys": "alt+8",
            "id": "Terminal.ColorSelectionFgIndex11"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i0f"
            },
            "keys": "alt+9",
            "id": "Terminal.ColorSelectionFgIndex15"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i03"
            },
            "keys": "alt+0",
            "id": "Terminal.ColorSelectionFgIndex3"
        },
        // background
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i07"
            },
            "keys": "ctrl+1",
            "id": "Terminal.ColorSelectionBgIndex7"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i08"
            },
            "keys": "ctrl+2",
            "id": "Terminal.ColorSelectionBgIndex8"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i0c"
            },
            "keys": "ctrl+3",
            "id": "Terminal.ColorSelectionBgIndex12"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i0a"
            },
            "keys": "ctrl+4",
            "id": "Terminal.ColorSelectionBgIndex10"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i0e"
            },
            "keys": "ctrl+5",
            "id": "Terminal.ColorSelectionBgIndex14"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i09"
            },
            "keys": "ctrl+6",
            "id": "Terminal.ColorSelectionBgIndex9"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i0d"
            },
            "keys": "ctrl+7",
            "id": "Terminal.ColorSelectionBgIndex13"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i0b"
            },
            "keys": "ctrl+8",
            "id": "Terminal.ColorSelectionBgIndex11"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i0f"
            },
            "keys": "ctrl+9",
            "id": "Terminal.ColorSelectionBgIndex15"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "foreground": "i00",
                "background": "i03"
            },
            "keys": "ctrl+0",
            "id": "Terminal.ColorSelectionBgIndex3"
        },
        // with matching
        // Foreground, all matches
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                // default fg and bg (i07 and i00)
            },
            "keys": "alt+shift+1",
            "id": "Terminal.ColorSelectionMatchDefaultFgAndBg"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i08"
            },
            "keys": "alt+shift+2",
            "id": "Terminal.ColorSelectionMatchFgIndex8"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i0c"
            },
            "keys": "alt+shift+3",
            "id": "Terminal.ColorSelectionMatchFgIndex12"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i0a"
            },
            "keys": "alt+shift+4",
            "id": "Terminal.ColorSelectionMatchFgIndex10"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i0e"
            },
            "keys": "alt+shift+5",
            "id": "Terminal.ColorSelectionMatchFgIndex14"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i09"
            },
            "keys": "alt+shift+6",
            "id": "Terminal.ColorSelectionMatchFgIndex9"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i0d"
            },
            "keys": "alt+shift+7",
            "id": "Terminal.ColorSelectionMatchFgIndex13"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i0b"
            },
            "keys": "alt+shift+8",
            "id": "Terminal.ColorSelectionMatchFgIndex11"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i0f"
            },
            "keys": "alt+shift+9",
            "id": "Terminal.ColorSelectionMatchFgIndex15"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i03"
            },
            "keys": "alt+shift+0",
            "id": "Terminal.ColorSelectionMatchFgIndex3"
        },
        // background, all matches
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i07"
            },
            "keys": "ctrl+shift+1",
            "id": "Terminal.ColorSelectionMatchBgIndex7"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i08"
            },
            "keys": "ctrl+shift+2",
            "id": "Terminal.ColorSelectionMatchBgIndex8"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i0c"
            },
            "keys": "ctrl+shift+3",
            "id": "Terminal.ColorSelectionMatchBgIndex12"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i0a"
            },
            "keys": "ctrl+shift+4",
            "id": "Terminal.ColorSelectionMatchBgIndex10"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i0e"
            },
            "keys": "ctrl+shift+5",
            "id": "Terminal.ColorSelectionMatchBgIndex14"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i09"
            },
            "keys": "ctrl+shift+6",
            "id": "Terminal.ColorSelectionMatchBgIndex9"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i0d"
            },
            "keys": "ctrl+shift+7",
            "id": "Terminal.ColorSelectionMatchBgIndex13"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i0b"
            },
            "keys": "ctrl+shift+8",
            "id": "Terminal.ColorSelectionMatchBgIndex11"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i0f"
            },
            "keys": "ctrl+shift+9",
            "id": "Terminal.ColorSelectionMatchBgIndex15"
        },
        {
            "command":
            {
                "action": "experimental.colorSelection",
                "matchMode": "all",
                "foreground": "i00",
                "background": "i03"
            },
            "keys": "ctrl+shift+0",
            "id": "Terminal.ColorSelectionMatchBgIndex3"
        }
    ]
}
