4 ms·
My favourite tmux trick only works on an apple gb keyboard: set -g prefix ` bind-key e send-prefix Then, all your tmux controls are one left pinky pre
by cyberpunk 4y ago
My favourite tmux trick only works on an apple gb keyboard:
set -g prefix `
bind-key e send-prefix
Then, all your tmux controls are one left pinky press away (` is beside z on uk Mac keyboards).
(`e sends a ` for when you need it, rare though, $() is better for sub shells :})
- ledauphin 4y agoI use backtick as my prefix as well, plus 1-indexed window numbers. I guess it's a bit farther away than yours, but it's still wonderful.
- hyperhopper 4y agoUnless you already took that mentality to the next step, and put your Esc key where the most people have their backtick key, with the (comparatively rarely used) backtick key on a second layer. But then again those types of users are also likely already hyper aware of hotkey modifications and optimizations.
- cyberpunk 4y agoesc is caps lock (vim user) -- although this has the unfortunate effect of making other devs machines virtually impossible to use since for 20+ years I've used caps-lock-as-escape and it's muscle memory now...