Skip to content
/
Try

Make text bigger in Skink: font size and zoom

Zoom to just the text, grow and shrink panes.

To make the text bigger, use your terminal’s own zoom keys: Ctrl+= and Ctrl+- in most terminals (Cmd++ / Cmd+- on macOS).

Skink runs inside your terminal and draws in its font, so the font size is the terminal’s to set. Skink leaves those keys unbound so they keep working.

If you want more room for the text rather than bigger letters, press Alt+Z or type :zoom to zoom the pane.

Terminal Bigger / smaller / reset
Most Linux terminals, Windows Terminal Ctrl+= / Ctrl+- / Ctrl+0
macOS terminals Cmd++ / Cmd+- / Cmd+0

Check your terminal’s docs if these differ. The font itself, including the Nerd Font for icons, is also chosen in your terminal’s settings.

Some terminals let a program change the font size. For those, Skink has a command:

Command Does
:fontsize +1 Bigger
:fontsize -1 Smaller
:fontsize 0 Back to the default

:font is the short form. The matching actions are FontBigger, FontSmaller and FontReset, which you can bind to keys.

It works in two places:

  • Kitty, when remote control is allowed. Add allow_remote_control yes to kitty.conf (or a more restricted value Kitty accepts). Without it, Skink reports that Kitty refused.
  • EveryAI, when Skink runs inside it. See EveryAI.

Elsewhere, use the terminal’s keys.

Alt+Z or :zoom shows only the text: the tab bar, the file tree and the status line disappear. The status line comes back while a prompt or message is up.

Press the same key, or run :zoom, again to bring everything back.

:zoom is there because Alt chords can be awkward on macOS and in tmux. See macOS Option key.

F5 does not zoom; it starts or continues the debugger. See Code intelligence for the keys that moved in 0.8.

If the tab bar, tree and status line are gone, you are in zoom mode. Press Alt+Z, or press Ctrl+E and type zoom.

With split panes, make the focused one bigger or smaller:

Key Typed command Does
Alt+= :growsplit Grow the focused pane
Alt+- :shrinksplit Shrink the focused pane

Or drag the divider, or a pane’s title row, with the mouse. See Splits and docks.

With the file tree focused (F8), press < to make it narrower and > to make it wider. You can also drag its right border.

The actions are TreeNarrower and TreeWider, so you can bind them to keys that work from the editor too.

To hide the tree entirely, press Ctrl+B or type :sidebar. See Hidden files and panels.