How do I trigger iTerm2 style global access to ghostty? #3141
Replies: 4 comments 11 replies
-
The keybind action you're looking for is |
Beta Was this translation helpful? Give feedback.
-
Yeah definitely a muscle memory for me now that I'd be sad to lose out on.
Iterm's hotkey is a show/hide all windows and focuses the most recently used tab.
|
Beta Was this translation helpful? Give feedback.
-
I'm still interested in the iTerm behaviour whereby the existing Ghostty app gains focus the first time I execute the shortcut. Currently when Ghostty isn't the focused app on macOS, the first press of the shortcut hides Ghostty so to get from another app back to Ghostty I have to press the shortcut twice. keybind = global:ctrl+grave_accent=toggle_visibility |
Beta Was this translation helpful? Give feedback.
-
I'd love to have profiles and be able to assign a hotkey to open that profile globally but I have sort of solved it now with Hammerspoon app and the following config: hs.hotkey.bind({"cmd"}, "escape", function()
local ghostty = hs.application.find("Ghostty")
if ghostty and ghostty:isFrontmost() then
ghostty:hide()
else
hs.application.launchOrFocus("Ghostty")
end
end) |
Beta Was this translation helpful? Give feedback.
-
👋
Apologies if this is really obvious but I read through the docs and couldn't find any mention of what the key combination is to trigger the "global hotkey" feature (e.g. where you can at any point in time open a floating instance of ghostty).
Thanks for any guidance.
Beta Was this translation helpful? Give feedback.
All reactions