Skip to content

Keyboard shortcuts ​

Swanmail is designed to be usable without leaving the keyboard.

Configurable shortcuts ​

Open Settings → Keyboard shortcuts to customize the single-key shortcuts below. Defaults are shown in parentheses.

ActionDefault key
All Inboxes view1
Unread view2
Starred view3
Drafts view4
Sent view5
Collapse or expand the sidebar⌃⌘S (Ctrl+Shift+S on Windows and Linux); any combination with a modifier, such as ⌘B
Replyr
Reply alla
Forwardf
Archivee
Mark as junk!
Toggle read / unreadu
Star / unstars
Delete#
Compose new messagec
Select / deselect rowx

Delete and Backspace delete too, beside whatever key you give Delete: they act on the selected messages, or on the open message when nothing is selected. They cannot be changed.

In a window narrower than 1000 px, the sidebar shows as a rail of icons, whatever you chose. Its shortcut then opens it until the window is wide again.

The sidebar's shortcut takes a combination, not a single key: in Settings → Keyboard shortcuts, click Edit beside Show or hide the sidebar and press it, or Reset for ⌃⌘S. It works only inside Swanmail. A combination with one modifier, such as ⌘B, does nothing in a text field, where it may be bold. Combinations the app or the system already uses, such as ⌘K or ⌘C, are refused.

Show or hide Swanmail from any app ​

On Windows and macOS you can give Swanmail a system-wide shortcut, such as Ctrl+Alt+M (⌃⌥M on a Mac). Open Settings → Keyboard shortcuts, click Record under From any app and press the combination; it needs Ctrl or Alt (on a Mac also ⌘). The shortcut works while another app is in front: it brings Swanmail's window forward, and when the window is already in front, it hides it. None is set until you record one. If another app already uses the combination, Settings says so and keeps the shortcut you had.

Global shortcuts ​

These shortcuts work everywhere and are not currently configurable:

ShortcutAction
⌘KOpen command palette
⌘FFocus search (Ctrl+F on Windows and Linux)
/Focus search
⌘,Open settings
?Show keyboard shortcuts help
EscClose modal / clear selection

Compose has no modifier shortcut of its own — use the configurable c.

Message actions ​

ShortcutAction
zUndo the last delete, archive, move or junk while its toast is showing
lOpen the tag picker for the selected message

z is live only while the undo toast is on screen. l can be changed in Settings → Keyboard shortcuts under Tag message.

Message list ​

ShortcutAction
j / ↓Next message
k / ↑Previous message
Page Down / Ctrl+FOne page down the list
Page Up / Ctrl+BOne page up the list
gg / HomeFirst message
G / EndLast loaded message; the list then loads the next page
xSelect or deselect the focused row
⇧J / ⇧↓Extend the selection one row down
⇧K / ⇧↑Extend the selection one row up
⌘ASelect every row loaded so far (Ctrl+A on Windows and Linux)
SpaceOpen the selected message in its own reader window
EscClear the current multi-selection; with none, give the keys back to the list after a click in the reading pane, and go back to the list when the reading pane is off

Multi-selection works from the keyboard and the mouse alike. x is the Gmail key and is configurable under Settings → Keyboard shortcuts; ⇧J and ⇧K extend from the row where the selection began, exactly as ⇧-click extends from the last clicked row, and the anchor stays put while you keep extending. With the mouse, ⌘-click (Ctrl-click on Windows and Linux) adds or removes a single row.

A page is the number of rows the list shows at once. Ctrl+F and Ctrl+B use the Control key on every platform, as in vim. After you click in the reading pane, the message body included, the arrows, Space and the paging keys scroll the message, ⌘A (Ctrl+A) selects its text, and Ctrl+F focuses search; j and k still move through the list. Esc, or a click in the list, gives the keys back to the list. g, G and / stay with an action if you give that key to one in Settings → Keyboard shortcuts.

Date headers are not rows: j and k skip over them, and neither ⇧J nor ⌘A can select one.

While a selection is up, the message action keys — archive, delete, star, read/unread and junk — act on the whole selection rather than on the message the reading pane is showing, as does Move to … in the command palette. Esc clears the selection and hands the keys back to the open message.

Compose ​

ShortcutAction
⌘↩Send the message (Ctrl+↩ on Windows and Linux)
⌘⇧↩In a reply, send and archive the message you answered (Ctrl+Shift+↩)
⌘⇧OMove the message you are writing into a window of its own (Ctrl+Shift+O)
⌘⇧⌫Discard the draft; the toast that follows can undo it (Ctrl+Shift+Backspace)
⌘⌥1 – ⌘⌥3Heading 1 to 3 (Ctrl+Alt+1 – Ctrl+Alt+3)
⌘⇧HToggle highlight (Ctrl+Shift+H)

Shortcuts are context-aware and shown in the in-app Shortcuts Help panel (?).