Docs
Keys and actions
Every action Zinc has, and the keys it starts with. Change any of them in Settings›Keyboard or in [keys], run them from the command palette, or from a script with zn action.
[keys]"ctrl+shift+w" = "none" # free a default"ctrl+w" = "close-tab""alt+shift+plus" = "split down""ctrl+shift+1" = "new-tab wsl:Fedora" # a profile by id"ctrl+a > c" = "new-tab" # a sequence, like a tmux prefix
Keys are modifiers (ctrl, alt, shift) plus one key. "none" takes a default away. An action with an argument takes it after a space: "split down". A key bound twice, an unknown key, or an unknown action shows in a bar with its line in the file, and the rest still applies.
Join keys with > to press them one after another, like a tmux prefix: "ctrl+a > c" = "new-tab". The first key then only starts sequences and doesn't reach the shell. Press it twice to send it to the shell anyway.
While a sequence waits, a hint at the bottom of the pane lists what can come next. Esc, or a key that no sequence continues, cancels it without typing anything. If the first key also had an action of its own, it loses that action, and Zinc says so in the bar.
On this page
Clipboard
copyCopyCopy the selection. "copy if-selection" lets the key through to the app when nothing is selected.
Takes if-selection (optional)
- Ctrl+Shift+C
- Ctrl+Cif-selection
copy-formattedCopy with formattingCopy the selection with its colors and styles, for pasting into a document or an email.
copy-outputCopy command outputCopy the output of the command at the top of the view, or of the last command when the view is at the bottom. Needs shell integration.
Find and scroll
jump-to-promptJump to promptScroll to the previous prompt with "jump-to-prompt previous", or to the next one with "jump-to-prompt next". Without prompt marks, the view scrolls a line. Needs shell integration.
Takes previous · next
- Ctrl+Shift+↑previous
- Ctrl+Shift+↓next
select-outputSelect command outputSelect the output of the command at the top of the view, or of the last command when the view is at the bottom. Needs shell integration.
Zoom
Tabs
new-tabNew tabOpen a tab in the focused pane, or a workspace when "Tabs inside panes" is off. With a profile, the tab starts that profile, named by its id or its position in the menu.
Takes a profile's id, or its position in the profile menu from 1 (optional)
- Ctrl+Shift+T
- Ctrl+Shift+1–91–9
close-tabClose tabClose the focused tab. Closing a pane's last tab also closes the pane.
- Ctrl+Shift+W
next-tabNext tabGo to the focused pane's next tab, or to the next workspace when the pane has one tab.
- Ctrl+Tab
previous-tabPrevious tabGo to the focused pane's previous tab, or to the previous workspace when the pane has one tab.
- Ctrl+Shift+Tab
tab-switcherGo to tab…Search this window's tabs by title, folder, or running command, as typing "@" in the palette does. Tabs with a dot come first.
- Ctrl+Shift+O
next-attentionNext tab needing attentionGo to the next tab with a dot: programs that exited with an error first, then failed commands, the bell, programs' notifications, and finished commands.
Panes
splitSplitSplit the focused pane: right, down, left, or up.
Takes right · down · left · up
- Alt+Shift+Plusright
- Alt+Shift+Minusdown
focusFocus paneFocus the neighboring pane: left, right, up, or down.
Takes right · down · left · up
- Alt+Arrowsthat direction
resizeResize paneMove the focused pane's divider: left, right, up, or down.
Takes right · down · left · up
- Alt+Shift+Arrowsthat direction
maximize-paneMaximize paneFill the workspace with the focused pane, hiding the others. Trigger again to show them. Focusing another pane shows them too.
close-paneClose paneClose the focused pane and every tab in it, asking first if a command is running in any of them.
Workspaces and windows
reopen-workspaceReopen closed workspaceBring back the workspace closed last: its tabs, splits, and folders.
reopen-windowReopen closed windowBring back the window closed last, where it was: its workspaces, tabs, splits, and folders.
go-to-workspaceGo to workspaceShow workspace N, counting from 1. "last" shows the last workspace.
Takes a workspace number from 1, or last
- Ctrl+Alt+1–81–8
- Ctrl+Alt+9last
toggle-sidebarToggle sidebarWhen workspace-tabs = "left", cycle the workspace list through full, rail, and auto-hide. "toggle-sidebar rail" or "toggle-sidebar auto-hide" switches between that mode and full.
Takes rail · auto-hide (optional)
- Ctrl+Shift+B
toggle-title-barToggle title barWhen workspace-tabs = "left", auto-hide the title bar, or show the title bar again.
focus-modeFocus modeWhen workspace-tabs = "left", auto-hide the title bar and the workspace list. Trigger again to bring them back.
Zinc
quit-freshQuit without saving windowsClose every window and exit without saving the windows, so Zinc starts with a new window next time.
a–z, 0–9, numpad0–numpad9, f1–f24, plus, minus, comma, grave (or grave_accent), numpad_plus, numpad_minus, tab, enter, space, esc (or escape), backspace, insert, delete, home, end, pgup (or pageup), pgdn (or pagedown), up, down, left, right.