I have Tmux setup on my iMac so that CAPS
and Ctrl
are swapped and C-a
is the prefix. On my old laptop I have archlinux without Xwindows and I can't figure out how to remap those keys. On Mac it was straightforward. How do I do it on my barebones linux setup?
相关问题
- Is shmid returned by shmget() unique across proces
- how to get running process information in java?
- Error building gcc 4.8.3 from source: libstdc++.so
- Why should we check WIFEXITED after wait in order
- Null-terminated string, opening file for reading
Create a file
ctrl-caps-swap.map
:And load it under root as
loadkeys ./ctrl-caps-swap.map
. You can read more about custom key mappings on Arch wiki.