{
  "$schema": "https://www.sophonz.io/schemas/keymap-v1.json",
  "format": "sophonz-keymap",
  "version": 1,
  "name": "Key bar: Codex",
  "platform": "any",
  "bindings": [],
  "keyBar": {
    "groups": [
      {
        "id": "main",
        "title": "Main",
        "layout": "fit",
        "keys": [
          {
            "toggle": "mux"
          },
          {
            "label": "ctrl",
            "action": "mod.ctrl"
          },
          {
            "label": "alt",
            "action": "mod.alt"
          },
          {
            "label": "esc",
            "send": "esc"
          },
          {
            "label": "tab",
            "send": "tab"
          },
          {
            "label": "←",
            "send": "left",
            "repeat": true
          },
          {
            "label": "↓",
            "send": "down",
            "repeat": true
          },
          {
            "label": "↑",
            "send": "up",
            "repeat": true
          },
          {
            "label": "→",
            "send": "right",
            "repeat": true
          }
        ]
      },
      {
        "id": "codex",
        "title": "Codex",
        "keys": [
          {
            "label": "esc",
            "send": "esc",
            "hint": {
              "en": "Codex: interrupt the turn, or decline",
              "ko": "Codex: 턴 중단, 또는 거절"
            }
          },
          {
            "label": "esc esc",
            "text": [
              "\u001b",
              "\u001b"
            ],
            "hint": {
              "en": "Codex: edit the previous message",
              "ko": "Codex: 이전 메시지 수정"
            }
          },
          {
            "label": "⇧tab",
            "send": "shift+tab",
            "hint": {
              "en": "Codex: switch collaboration mode (Plan)",
              "ko": "Codex: 협업 모드 전환 (Plan)"
            }
          },
          {
            "label": "⇧←",
            "send": "shift+left",
            "hint": {
              "en": "Codex: answer its questions (next question), or edit the last queued message",
              "ko": "Codex: 질문에 답하기 (다음 질문), 또는 대기 중인 마지막 메시지 수정"
            }
          },
          {
            "label": "⇧→",
            "send": "shift+right",
            "hint": {
              "en": "Codex: previous question, then back to the prompt",
              "ko": "Codex: 이전 질문, 그다음 입력창으로"
            }
          },
          {
            "label": "1",
            "text": "1",
            "hint": {
              "en": "Codex: pick option 1",
              "ko": "Codex: 1번 선택"
            }
          },
          {
            "label": "2",
            "text": "2",
            "hint": {
              "en": "Codex: pick option 2",
              "ko": "Codex: 2번 선택"
            }
          },
          {
            "label": "3",
            "text": "3",
            "hint": {
              "en": "Codex: pick option 3",
              "ko": "Codex: 3번 선택"
            }
          },
          {
            "label": "^J",
            "text": "\n",
            "hint": {
              "en": "Codex: new line without sending",
              "ko": "Codex: 보내지 않고 줄바꿈"
            }
          },
          {
            "label": "^T",
            "text": "\u0014",
            "hint": {
              "en": "Codex: transcript",
              "ko": "Codex: 전체 기록 보기"
            }
          },
          {
            "label": "^G",
            "text": "\u0007",
            "hint": {
              "en": "Codex: edit the prompt in $EDITOR",
              "ko": "Codex: 외부 편집기로 입력 편집"
            }
          }
        ]
      },
      {
        "id": "tmux",
        "title": "tmux",
        "when": "mux",
        "toggle": "mux",
        "keys": [
          {
            "label": "list",
            "action": "window.list"
          },
          {
            "label": "sess",
            "action": "session.list"
          },
          {
            "label": "◀ win",
            "action": "window.prev"
          },
          {
            "label": "win ▶",
            "action": "window.next"
          },
          {
            "label": "+win",
            "action": "window.new"
          },
          {
            "label": "go#",
            "action": "window.goto.ask"
          },
          {
            "label": "pane",
            "action": "pane.next"
          },
          {
            "label": "zoom",
            "action": "pane.zoom"
          },
          {
            "label": "split│",
            "action": "pane.split.right"
          },
          {
            "label": "split─",
            "action": "pane.split.down"
          },
          {
            "label": "detach",
            "action": "session.detach"
          },
          {
            "label": "1",
            "action": "window.goto.1"
          },
          {
            "label": "2",
            "action": "window.goto.2"
          },
          {
            "label": "3",
            "action": "window.goto.3"
          },
          {
            "label": "4",
            "action": "window.goto.4"
          },
          {
            "label": "5",
            "action": "window.goto.5"
          }
        ]
      },
      {
        "id": "extras",
        "title": "More",
        "keys": [
          {
            "action": "keyboard.onscreen"
          },
          {
            "action": "compose.mic"
          },
          {
            "action": "compose.open"
          },
          {
            "label": "⏎",
            "send": "enter",
            "wide": true
          },
          {
            "label": "paste",
            "action": "edit.paste",
            "wide": true
          },
          {
            "label": "A−",
            "action": "font.smaller",
            "repeat": true
          },
          {
            "label": "A+",
            "action": "font.bigger",
            "repeat": true
          },
          {
            "label": "⇤tab",
            "text": "\u001b[Z"
          },
          {
            "label": "^C",
            "text": "\u0003"
          },
          {
            "label": "^D",
            "text": "\u0004"
          },
          {
            "label": "^Z",
            "text": "\u001a"
          },
          {
            "label": "^R",
            "text": "\u0012"
          },
          {
            "label": "^L",
            "text": "\f"
          },
          {
            "char": "|"
          },
          {
            "char": "~"
          },
          {
            "char": "/"
          },
          {
            "char": "-"
          },
          {
            "char": "_"
          },
          {
            "char": "$"
          },
          {
            "char": "*"
          },
          {
            "char": "{"
          },
          {
            "char": "}"
          },
          {
            "char": "["
          },
          {
            "char": "]"
          },
          {
            "label": "hom",
            "send": "home"
          },
          {
            "label": "end",
            "send": "end"
          },
          {
            "label": "pgup",
            "send": "pageup"
          },
          {
            "label": "pgdn",
            "send": "pagedown"
          },
          {
            "label": "del",
            "send": "delete",
            "repeat": true
          },
          {
            "label": "F1",
            "send": "f1"
          },
          {
            "label": "F2",
            "send": "f2"
          },
          {
            "label": "F3",
            "send": "f3"
          },
          {
            "label": "F4",
            "send": "f4"
          }
        ]
      }
    ]
  }
}
