2024 December 27
How I use cmd+k as my tmux prefix
Cmd + k on mac uses a thumb and a home row key. Comfortable for me!
- I use the default ctrl + b prefix in my tmux config
- I configure my terminal emulator to map cmd + k to send ctrl + b to the terminal
In Alacritty it's like this:
[keyboard] bindings = [ {key= "k", mods= "Command", chars= "\u0002"} ]
I set up with Ghostty today with this config:
keybind = cmd+k=text:\x02
If your pinky hurts, try this out!