मुख्य सामग्री पर जाएँ
Skillpedia
ऑटोमेशन29k · #9800

cmux-keyboard-shortcuts

यह क्या करती है

यह स्किल cmux ऐप के keyboard shortcuts अपनी पसंद के अनुसार बदलने में मदद करती है। यह आपकी काम की आदतों को shortcut सेटिंग में बदलती है और उन्हें cmux की कॉन्फ़िग फ़ाइल में सहेजती है।

कब इस्तेमाल करें

  • ✓जब आप cmux का कोई keyboard shortcut दोबारा असाइन, हटाना या रीसेट करना चाहें।
  • ✓जब आपको ऐसा shortcut लेआउट चाहिए जो tmux, Vim, iTerm या किसी और परिचित टूल जैसा हो।
  • ✓जब आप बदलाव करने से पहले एजेंट से अपने मौजूदा cmux shortcuts की समीक्षा करवाना चाहें।

Skill का लिंक

https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-keyboard-shortcuts/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/manaflow-ai/cmux/blob/main/skills/cmux-keyboard-shortcuts/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे cmux shortcuts को tmux जैसा काम करने के लिए बदल दीजिए, क्योंकि मैं उसी का आदी हूँ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट आपकी मौजूदा shortcut सेटिंग पढ़ता है, एक संक्षिप्त लेआउट सुझाता है, आपके चुने बदलाव लागू करता है, और जांचता है कि कॉन्फ़िग फ़ाइल अब भी सही पढ़ी जाती है।

तकनीकी सामग्री (मूल 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-settings for 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.ts or Sources/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 null for explicit unbinds. "", "none", "clear", "unbound", and "disabled" are accepted aliases, but null is the clearest JSON value and matches the templates below.
  • selectSurfaceByNumber, selectWorkspaceByNumber and focusPaneByNumber must use a digit from 1 to 9. cmd+1 means the full cmd+1 through cmd+9 family.
  • showHideAllWindows is the only system-wide shortcut. It cannot be a chord, requires modifiers, and may be rejected by macOS if reserved.
  • globalSearch is application-scoped and only fires while cmux is active.
  • showHideAllWindows also requires Settings > Global Hotkey > Enable System-Wide Hotkey. The binding can validate in cmux.json while the feature is disabled, so warn the user to enable that setting before reporting the shortcut as usable.
  • unset deletes a cmux.json override. 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. For showHideAllWindows, use Settings > Global Hotkey to restore the shortcut to ctrl+opt+cmd+. because Keyboard Shortcuts > Reset Default Shortcuts intentionally skips the global hotkey.
  • Saving cmux.json live reloads. Never tell the user to restart cmux.

Workflow

  1. 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 unset rule 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.
  2. Inspect existing config:

    "$CMUX_SETTINGS" path
    "$CMUX_SETTINGS" get shortcuts.bindings 2>/dev/null || printf '{}\n'
    "$CMUX_SETTINGS" validate
    
  3. Snapshot prior values for every action you will change. A path that was absent reverts with unset; a path with an existing custom value reverts with set <same-json-value>.

    "$CMUX_SETTINGS" get shortcuts.bindings.focusLeft 2>/dev/null || printf '<absent>\n'
    
  4. Apply only the chosen action paths, then "$CMUX_SETTINGS" validate.

    "$CMUX_SETTINGS" set shortcuts.bindings.newSurface '["ctrl+b","c"]'
    "$CMUX_SETTINGS" set short
    
अक्सर पूछे जाने वाले सवाल

क्या मेरी बाकी cmux सेटिंग प्रभावित होगी?

स्किल सिर्फ़ shortcut सेटिंग बदलती है, फिर जांचती है कि कॉन्फ़िग फ़ाइल अब भी मान्य है।

क्या मैं डिफ़ॉल्ट shortcuts पर लौट सकता हूँ?

हाँ। स्किल shortcuts को उनकी डिफ़ॉल्ट स्थिति पर रीसेट कर सकती है।

कौन से लेआउट उपलब्ध हैं?

स्किल tmux-शैली, Vim-शैली, terminal-first, ब्राउज़र-प्रधान, iTerm जैसे और agent-triage लेआउट जैसे टेम्प्लेट देती है।

जानकारी

लेखक का मूल विवरण

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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills