Byobu has some keybindings that require a modifier key and a function key, like Shift+f2 or Ctrl+f7. Unfortunately macOS picks these up instead and does god knows what with them. How do I send these key combinations to iTerm2?
MacOS – Sending ctrl+function key on iTerm2
itermkeyboardmacos
Related Question
- Remapping keys in iterm2
- How to use CapsLock as modifier key without consuming Alt+Shift keybinding
- MacOS – Bind Ctrl+C to Copy function for eclipse on mac os x doesn’t work
- Key combinations CTRL+SHIFT+D/E/F not working
- Command/Control keys are split on PC keyboard with Mac
- MacOS – How to send an arrow key in iTerm2
Best Answer
I had exactly the same issue and it seems to have been solved in the latest iTerm2. But if your profile was created before the fix like mine, a little configuration is needed:
xterm-256color
(orxterm
)And then you can see
^F1
...^F12
being correctly mapped: