Skip to content

Shortcuts

Settings → Shortcuts lists every keyboard shortcut Codeg responds to, and lets you rebind any of them. Each row is one action — its name, a short description, and a button showing its current binding. Change one by recording a new combination; reset the whole set with one button.

Notation

Below, stands for the primary modifier: Command on macOS, Ctrl on Windows and Linux (Codeg shows whichever your OS uses). is Shift, and is Option / Alt.

Rebinding a shortcut

Click a row's shortcut button — it switches to Press shortcut… — then press the combination you want. A few rules the recorder enforces:

  • A modifier is required. Most actions need Ctrl/Cmd or Alt (optionally with Shift); a bare letter won't register. The two composer actions — Send Message and Newline in Message — are the exception, and accept a plain key like Enter.
  • Conflicts are refused. If the combination already belongs to another action, Codeg rejects it and tells you which action holds it — so you can't silently shadow an existing binding.
  • Esc cancels the recording without changing anything.

Reset defaults (top-right) restores every shortcut at once; it's disabled when nothing has been changed.

The default shortcuts

Panels & layout

ActionShortcutWhat it does
Open Search⌘KShow or hide the conversation search panel
Toggle Left Sidebar⌘BShow or hide the conversation-list sidebar
Toggle Terminal⌘JShow or hide the bottom terminal panel
Toggle Right Panel⌘EShow or hide the auxiliary info panel

Tabs, windows & navigation

ActionShortcutWhat it does
New Conversation⌘TCreate a new conversation tab in the current folder
New Terminal⌘TCreate a new terminal tab (when focus is on the terminal)
Open Folder⌘OOpen the folder picker in a new window
Open Settings⌘,Open the Settings window
Close Current Tab⌘WClose the current conversation or file tab
Close Current Terminal⌘WClose the current terminal tab (when focus is on the terminal)
Close All File Tabs⌘⇧WClose all open file tabs (when the file pane is active)
Next Tab⌘TabSwitch to the next conversation or file tab
Previous Tab⌘⇧TabSwitch to the previous conversation or file tab

Composer

ActionShortcutWhat it does
Send MessageEnterSend the current message in the input box
Newline in Message⇧EnterInsert a newline in the message input box

Appearance

ActionShortcutWhat it does
Suspend/resume custom style⌘⌥⇧STurn all custom colors and CSS off, and back on
Zoom In⌘=Step the window zoom up one rung
Zoom Out⌘−Step it down one rung
Reset Zoom⌘0Back to 100%

The three zoom keys move through the same discrete rungs the Appearance screen offers, and stop at either end rather than wrapping. ⌘= is the unshifted key US keyboards send for Ctrl/Cmd +, so ⌘⇧+ and the numpad + work as well. Inside the terminal, the Ctrl forms are declined on Windows and Linux — Ctrl+− and Ctrl+= belong to whatever's running in there — while macOS keeps zooming, Cmd having no shell meaning.

Good to know

  • A new default steps aside for a binding you already made. These three arrived in 0.28.2, and if your saved profile had bound ⌘0 to something of your own, that binding keeps the chord and Reset Zoom arrives unassigned — bind it by hand from this screen. Before that fix, a default added after your profile was written landed on top of your binding and fired both actions at once, with nothing on screen to say so. The check compares the chords as written, so the rare case it can't see is a layout collision: on AZERTY, Ctrl+− is also the 6 key's position, so a binding you'd made on ⌘6 can still fire alongside Zoom Out. If two things happen on one press, rebind one of them.
  • Some bindings are shared on purpose. ⌘T and ⌘W each drive two actions — a terminal one and a conversation/file-tab one — and Codeg picks the right one from what's focused. That's why the default set has apparent duplicates the conflict check still allows: ⌘T opens a new terminal when the terminal is focused, otherwise a new conversation; ⌘W closes the focused terminal or the current tab.
  • Only the composer keys can be modifier-free. Send Message and Newline in Message are the two actions you can bind to a plain key — swap them (say, ⇧Enter to send, Enter for a newline) if you prefer.
  • The custom-style shortcut is an escape hatch, and is built like one. Custom CSS can leave you with an interface you can't click, so this binding is deliberately a three-modifier combination that collides with nothing, and Codeg listens for it ahead of everything else — it still fires when the rest of the UI has been styled into uselessness. Rebind it if you like, but keep it something you can reach blind.
  • Shortcuts are saved on the device. They live in the app's local storage, per device — not part of a synced profile. Set them once on each machine, the same as Appearance.

Released under the Apache-2.0 License.