cmux-keyboard-shortcuts
하는 일
이 스킬은 cmux 앱의 키보드 단축키를 사용자에게 맞게 바꾸도록 돕습니다. 작업 습관을 단축키 설정으로 바꿔 cmux 설정 파일에 저장합니다.
사용하는 경우
- ✓cmux 키보드 단축키를 다시 연결하거나, 제거하거나, 초기화하고 싶을 때.
- ✓tmux, Vim, iTerm 등 익숙한 도구와 맞는 단축키 배치를 원할 때.
- ✓변경하기 전에 에이전트가 현재 cmux 단축키를 검토하기를 원하는 경우.
스킬 링크
https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-keyboard-shortcuts/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제가 익숙한 방식대로 tmux처럼 작동하도록 cmux 단축키를 바꿔 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 현재 단축키 설정을 읽고, 간결한 배치를 제안하며, 사용자가 고른 변경을 적용한 뒤 설정 파일이 여전히 올바르게 읽히는지 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
cmux-keyboard-shortcuts
Turn a user's workflow preferences into cmux shortcut bindings in ~/.config/cmux/cmux.json: guide, propose compact templates, apply the selected changes, and confirm the config parses with recognized keys.
Contributor rule: adding a new shortcut
Every new cmux-owned keyboard shortcut must be added to Sources/KeyboardShortcutSettings.swift, visible and editable in Settings > Keyboard Shortcuts, supported as shortcuts.bindings.<actionId> in ~/.config/cmux/cmux.json, and documented in web/app/[locale]/(landing)/docs/keyboard-shortcuts/page.tsx and the configuration docs. All four, not a subset.
Prerequisites
- Work from a cmux checkout or worktree root when possible.
- Use
skills/cmux-settings/scripts/cmux-settingsfor every read/write. It reads JSONC, writes atomically, and validates JSON plus recognized settings keys. - Action IDs:
skills/cmux-settings/references/shortcut-actions.md. Current defaults:web/data/cmux-shortcuts.tsorSources/KeyboardShortcutSettings.swift.
if [[ -z "${CMUX_SETTINGS:-}" ]]; then
root="$(git rev-parse --show-toplevel 2>/dev/null || pwd)"
for candidate in \
"$root/skills/cmux-settings/scripts/cmux-settings" \
"${CODEX_HOME:-$HOME/.codex}/skills/cmux-settings/scripts/cmux-settings" \
"$HOME/.agents/skills/cmux-settings/scripts/cmux-settings"; do
[[ -x "$candidate" ]] && CMUX_SETTINGS="$candidate" && break
done
[[ -n "${CMUX_SETTINGS:-}" ]] || {
echo "cmux-settings helper not found; run from a cmux checkout or install cmux-settings" >&2
exit 1
}
fi
Shortcut model
- Setting path:
shortcuts.bindings.<actionId>. - Single stroke:
"cmd+b". - Chord:
["ctrl+b","c"]. The first stroke needs a modifier unless the key is Space. The second stroke can be bare. - Unbind: prefer
nullfor explicit unbinds."","none","clear","unbound", and"disabled"are accepted aliases, butnullis the clearest JSON value and matches the templates below. selectSurfaceByNumber,selectWorkspaceByNumberandfocusPaneByNumbermust use a digit from 1 to 9.cmd+1means the fullcmd+1throughcmd+9family.showHideAllWindowsis the only system-wide shortcut. It cannot be a chord, requires modifiers, and may be rejected by macOS if reserved.globalSearchis application-scoped and only fires while cmux is active.showHideAllWindowsalso requires Settings > Global Hotkey > Enable System-Wide Hotkey. The binding can validate incmux.jsonwhile the feature is disabled, so warn the user to enable that setting before reporting the shortcut as usable.unsetdeletes acmux.jsonoverride. It does not clear shortcut changes saved through the Settings UI/UserDefaults. If the user asks for true built-in defaults, tell them to use Settings > Keyboard Shortcuts > Reset Default Shortcuts after clearing file-managed overrides, then verify in the app. ForshowHideAllWindows, use Settings > Global Hotkey to restore the shortcut toctrl+opt+cmd+.because Keyboard Shortcuts > Reset Default Shortcuts intentionally skips the global hotkey.- Saving
cmux.jsonlive reloads. Never tell the user to restart cmux.
Workflow
Classify the request:
- One-off rebind/unbind: map the phrase to an action ID, apply, validate, report previous and new binding.
- Audit: inspect bindings, validate, summarize overrides and unbound shortcuts without writing.
- Reset: clarify file-managed overrides vs true built-in defaults (see the
unsetrule above). - Broad customization: propose 3-5 templates below and ask the user to choose.
- Named style (tmux, Vim, iTerm, browser, agent triage): pick the closest template, show the changed actions and likely collisions, and ask before a bulk apply unless the user already named that template.
Inspect existing config:
"$CMUX_SETTINGS" path "$CMUX_SETTINGS" get shortcuts.bindings 2>/dev/null || printf '{}\n' "$CMUX_SETTINGS" validateSnapshot prior values for every action you will change. A path that was absent reverts with
unset; a path with an existing custom value reverts withset <same-json-value>."$CMUX_SETTINGS" get shortcuts.bindings.focusLeft 2>/dev/null || printf '<absent>\n'Apply only the chosen action paths, then
"$CMUX_SETTINGS" validate."$CMUX_SETTINGS" set shortcuts.bindings.newSurface '["ctrl+b","c"]' "$CMUX_SETTINGS" set short
자주 묻는 질문
다른 cmux 설정은 영향을 받나요?
이 스킬은 단축키 설정만 바꾸고, 그 뒤 설정 파일이 유효한지 확인합니다.
기본 단축키로 되돌릴 수 있나요?
네, 이 스킬은 단축키를 기본값으로 초기화할 수 있습니다.
어떤 배치가 있나요?
tmux 스타일, Vim 스타일, 터미널 중심, 브라우저 중심, iTerm 스타일, 에이전트 분류 배치 같은 템플릿을 제공합니다.
상세 정보
작성자의 원본 설명
Guide and apply cmux keyboard shortcut customization. Use when the user asks to customize, rebind, unbind, reset, audit, or create shortcut templates for cmux, including tmux-style, Vim-style, terminal-first, browser-heavy, iTerm/Terminal-like, or agent-triage layouts.
repo: manaflow-ai/cmux
인기도
- GitHub 스타
- 29k
- 순위
- #9800
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
cmux-browser
29k에이전트가 cmux에서 웹사이트를 열고, 사용자가 하던 작업의 포커스를 빼앗지 않은 채 브라우저 패널을 읽고 클릭하며 정보를 추출하도록 돕습니다.
cmux-capture
29k에이전트가 cmux 창을 스크린샷이나 짧은 녹화로 저장해, 시각적 변경이나 버그를 실제 증거로 보여 주게 합니다.
cmux-cloud-vm
29k에이전트가 cmux Cloud 머신에서 명령을 실행하고, 코딩 에이전트를 시작하고, 워크스페이스를 보여 주도록 돕습니다. 패널을 닫아도 작업은 계속 실행됩니다.
cmux-cua
29k에이전트가 cmux Computer Use 엔진으로 실제 macOS 앱을 조작하도록 돕습니다. 접근성 트리를 읽고 사용자를 대신해 클릭, 입력, 스크롤을 수행합니다.