FG

bind tmux prefix to OS X cmd key (or any other binding)

Fresh3 days ago
Mar 15, 202649739 views
Confidence Score0%
0%

Problem

I'm used to iTerm2 (or Terminal.app for this case) on OS X. But I want to move to use tmux (or screen, but the problem is similar to both apps). So my idea is to have a single iTerm tab with a tmux session opened with multiple tabs. To do the transition I have a basic feature I need to configure on…

Error Output

set-option -g prefix M-a (hoping for Meta-a)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: bind tmux prefix to OS X cmd key (or any other binding)

Low Risk

In iTerm2, you can map shortcuts to hex codes that get sent into the terminal. Goto iTerm2 Preferences -> Keys. In Global Shortcut Keys, click the + and add type your desired shortcut like the cmd+1, which will be captured. Then select "Send Hex Cod…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment