Skip to content

font

Sets the editor font.

[font]
family = "JetBrains Mono"
size = 14
linespace = 2
Key Description
family Font family name
size Font size in points
linespace Extra line spacing in pixels (default 0). May be negative to pull rows together, as Neovim’s 'linespace' allows; the resulting row height is kept positive
  • :set guifont=* opens the native font picker dialog.
  • :set columns=N / :set lines=N are honored as window resize requests.

Any window or float can use its own font or scale via the zonvie Lua helper:

zonvie.set_window_font(0, { guifont = "Iosevka:h18" }) -- 0 = current window
zonvie.set_window_font(win, { scale = 1.5 })
zonvie.set_window_font(win, {}) -- back to the global font

The helper writes vim.w.zonvie_guifont / vim.w.zonvie_font_scale and asks Zonvie to apply them; setting those window variables directly also works and is picked up on the next update. A split keeps its frame and Neovim resizes its grid to fit the new cell; a float keeps its rows and columns and grows or shrinks on screen. vim.w.neovide_font_scale is honored on floats, and zonvie_* wins when both are set.