How can I prevent the iTerm2 hotkey window from losing focus?
Solution 1:
(If anyone wants the answer as of October 2017)
For iTerm2 as of v3.1.3:
- Open the iTerm Preferences window (Menu bar: iTerm2 > Preferences...) and select
Profiles
. - Select the
Hotkey Window
profile* you want to change. - Click on the
Keys
tab inside theHotkey Window
profile. - Click on
Configure Hotkey Window
button, opening a pulldown dialog. - Check the
Pin hotkey window (stays open on loss of keyboard focus)
andFloating window
options, then clickOK
to confirm.
You may need to close the Hotkey Window first if it's already open (or you can restart iTerm) in order for the changes to take effect.
* Nb. Since v3.1 you can have multiple hotkey windows, so this is why I say "the profile you want to change", as there may be more than one Hotkey Window profile, unlike in the screenshot.
Solution 2:
Try this (for iTerm2 ~ v3.0.10):
- Open iTerm2 Preferences > Keys Tab (not Profiles>Keys!)
- Turn off option "Hotkey window hides when focus is lost"