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.

For 0.1.0-pre.141 actions, from the same list the Settings window uses

config.toml
[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
41 actions

Clipboard

copyCopy

Copy 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 formatting

Copy the selection with its colors and styles, for pasting into a document or an email.

No key by default
pastePaste

Paste the clipboard.

  • Ctrl+V
  • Ctrl+Shift+V
  • Shift+Insert
copy-outputCopy command output

Copy 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.

No key by default

Find and scroll

findFind

Open the find box.

  • Ctrl+Shift+F
scroll-page-upScroll page up

Scroll back a page.

  • Shift+PgUp
scroll-page-downScroll page down

Scroll forward a page.

  • Shift+PgDn
scroll-to-topScroll to top

Scroll to the start of the scrollback.

  • Ctrl+Shift+Home
scroll-to-bottomScroll to bottom

Scroll to the prompt.

  • Ctrl+Shift+End
jump-to-promptJump to prompt

Scroll 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 output

Select 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.

No key by default

Zoom

zoom-inZoom in

Make the text 10% bigger.

  • Ctrl+Plus
  • Ctrl+Numpad +
zoom-outZoom out

Make the text 10% smaller.

  • Ctrl+Minus
  • Ctrl+Numpad −
reset-zoomReset zoom

Set the text back to 100%, the configured font size.

  • Ctrl+0
  • Ctrl+Numpad 0

Tabs

new-tabNew tab

Open 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
duplicate-tabDuplicate tab

Open the focused tab's command again, next to it.

  • Ctrl+Shift+D
close-tabClose tab

Close the focused tab. Closing a pane's last tab also closes the pane.

  • Ctrl+Shift+W
next-tabNext tab

Go to the focused pane's next tab, or to the next workspace when the pane has one tab.

  • Ctrl+Tab
previous-tabPrevious tab

Go to the focused pane's previous tab, or to the previous workspace when the pane has one tab.

  • Ctrl+Shift+Tab
profile-menuProfile menu

Open the ▾ menu of profiles.

  • Ctrl+Shift+Space
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 attention

Go to the next tab with a dot: programs that exited with an error first, then failed commands, the bell, programs' notifications, and finished commands.

No key by default

Panes

splitSplit

Split the focused pane: right, down, left, or up.

Takes right · down · left · up

  • Alt+Shift+Plusright
  • Alt+Shift+Minusdown
duplicate-paneDuplicate pane

Split, running the focused tab's command again.

  • Alt+Shift+D
focusFocus pane

Focus the neighboring pane: left, right, up, or down.

Takes right · down · left · up

  • Alt+Arrowsthat direction
resizeResize pane

Move the focused pane's divider: left, right, up, or down.

Takes right · down · left · up

  • Alt+Shift+Arrowsthat direction
maximize-paneMaximize pane

Fill the workspace with the focused pane, hiding the others. Trigger again to show them. Focusing another pane shows them too.

No key by default
close-paneClose pane

Close the focused pane and every tab in it, asking first if a command is running in any of them.

No key by default

Workspaces and windows

new-workspaceNew workspace

Open a workspace with the default profile.

  • Ctrl+Alt+T
new-windowNew window

Open a window with the default profile.

  • Ctrl+Shift+N
reopen-workspaceReopen closed workspace

Bring back the workspace closed last: its tabs, splits, and folders.

No key by default
reopen-windowReopen closed window

Bring back the window closed last, where it was: its workspaces, tabs, splits, and folders.

No key by default
go-to-workspaceGo to workspace

Show 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 sidebar

When 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 bar

When workspace-tabs = "left", auto-hide the title bar, or show the title bar again.

No key by default
focus-modeFocus mode

When workspace-tabs = "left", auto-hide the title bar and the workspace list. Trigger again to bring them back.

No key by default

Zinc

command-paletteCommand palette

Search every command.

  • Ctrl+Shift+P
reload-configReload config

Read config.toml again.

No key by default

Open the settings window.

  • Ctrl+,
quitQuit Zinc

Close every window and exit.

No key by default
quit-freshQuit without saving windows

Close every window and exit without saving the windows, so Zinc starts with a new window next time.

No key by default
Key names A key is one of these, after any modifiers: 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.