Keyboard shortcuts
Press ? to see the current shortcuts. Settings ▸ Keyboard shows the same list, reports conflicts, and lets you change each binding.
The command palette at ⌘K can run commands with or without a shortcut.
Common shortcuts
| Action | Shortcut |
|---|---|
| Open command palette | ⌘K |
| Open shortcut list | ? |
| Search Drive documents | ⌘P (Windows/Linux: Ctrl+P, outside a terminal) |
| Search the current view | / or ⌘F |
| Find in a Code terminal | ⌘F (Linux: Ctrl+Shift+F) |
| Open Settings | ⌘, or g then s |
| Show or hide the current sidebar | ⌘B (Windows/Linux: Ctrl+B) |
| Show or hide the right panel | ⌘⌥B (Windows/Linux: Ctrl+Alt+B) |
| Show or hide a document's comments | ⌘⇧M (Windows/Linux: Ctrl+Shift+M) |
| Go to Inbox | g then i |
| Go to Code | g then c |
| Go to Chats | g then a |
| Show or hide action runs | g then l |
| Refresh a feed | r |
| Move through feed items | j/k |
| Open an item | o or Enter |
| Archive an item | e |
| Increase or decrease text size of the area you last clicked | ⌘+/⌘- (Windows/Linux: Ctrl+=/Ctrl+-; from a terminal: Ctrl+Shift+=/Ctrl+Shift+-) |
| Reset text size of the area you last clicked | ⌘0 (Windows/Linux: Ctrl+0; from a terminal: Ctrl+Shift+0) |
Use ? for the full list because it always matches the installed version.
Rebinding
You can change shortcuts in the app or in settings.yaml:
keybindings:
feed.next: [j, arrowdown]
launcher.lazygit: [alt+g]
tasks.toggle: ["g t"]
palette.toggle: []
The map only needs entries you want to change. An empty list removes a binding.
Use lower-case key names and join modifiers with +, such as mod+shift+t. mod means Command on macOS and Control on other platforms. Separate keys with a space for a sequence such as g i.
Applets
Applets have no shortcuts until you add them. They appear in Settings ▸ Keyboard, or you can name them in settings.yaml:
keybindings:
applet.docker: [mod+shift+d]
applet.radio.next: [alt+n]
applet.<id> opens the applet where its file says. If it lists a tab and a session is on screen, that opens the tab or brings it forward. Otherwise it opens and closes the pop-up. applet.<id>.<command> runs a command the applet lists. Both also work from a focused terminal, whatever keys they use, so the terminal stops receiving that key. Avoid one your shell needs. With focus inside an applet page, a shortcut needs ⌘, Ctrl or ⌥, because the page keeps other keys.
While an applet's pop-up is open, only ⌘K, the key that closes it, and that applet's commands run. A page can keep a shortcut for itself, so one it uses may not reach Hive.
Session tabs
Open Drive tab (session.open-drive), Open Diff tab (session.open-diff), and Open Tasks tab (session.open-tasks) open that tab in the session on screen, in Code or in an open chat, or bring it forward. They have no default key. In the palette they appear under the session's name, only for the tabs that session offers: a chat has Drive but no Diff or Tasks. Open Drive page and Open Tasks page are different commands: they bring the Drive and Tasks pages in the title bar forward, adding the page if it is not there, and return to where you were when pressed again.
keybindings:
session.open-diff: [mod+alt+d]
Terminal shortcuts
A focused terminal sends most keys to the running program. A shortcut works from a terminal when it starts with Command on macOS, or with Control on Linux, where you press it with Control+Shift from inside the terminal. Shortcuts without one of those, such as g then i, only work outside a terminal, so typing git always reaches the shell.
This applies to shortcuts you add yourself. To switch to the inbox from a terminal, add a binding such as ⌘I or ⌘G then i to Go to Inbox. In Settings ▸ Keyboard, a terminal icon next to a shortcut shows that it works from a terminal and how to press it there.
On Linux, a shortcut whose first key already uses Shift, such as mod+shift+b, cannot be reached from a terminal.
Find (terminal.find) opens the search bar over a Code terminal. Over the session list and other views, ⌘F searches the current view instead.
Text size (view.text-size-increase, -decrease, -reset) steps the area you last clicked or focused through 75, 80, 90, 100, 110, 120, 130, 150, 175, and 200%, within that area's range: a terminal, a Drive document, a diff or code field, or otherwise the interface. interface., document., code., and terminal.text-size-* act on one area wherever you are and have no default key. The sizes are in Settings ▸ Appearance ▸ Text size. On macOS these chords do not zoom the window, and Zoom In, Zoom Out and Actual Size are gone from the View menu, because window zoom scales the window instead of reflowing the terminal grid.
Toggle sidebar (terminal.toggle-sidebar) shows or hides the sidebar in Inbox, Code, Chats, and the Drive page's folder tree. It uses ⌘B on macOS and Ctrl+B on Windows and Linux, including inside a focused terminal. On macOS, Ctrl+B still reaches the terminal. On Windows and Linux, rebind this command in Settings ▸ Keyboard if you need Ctrl+B for tmux.
Toggle right panel (view.toggle-panel) is the same for the right edge, like the title bar's right button: the preview in Inbox and the comments column on the Drive page. Code and Chats have no right panel; Drive is a tab in the session there. Toggle comments (drive.toggle-comments) shows or hides the comments column on the Drive page.
Check Settings ▸ Keyboard before assigning a Control shortcut that your shell or terminal program already uses.