Skip to content

server

Controls single-instance behavior and how files are routed to a running instance.

[server]
single_instance = false # route `zonvie <file>` to a running instance (Windows and Linux)
open_mode = "tab" # "tab" (new tab) or "current" (replace current window)
close_to_tray = false # close button hides to the notification area instead of quitting (Windows and Linux)
Key Description
single_instance Windows and Linux. When true, a second zonvie <file> launch routes the file to the already-running instance (and brings it to the front) instead of opening a new window. Default false. macOS gets single-instance behavior from the OS; Linux routes through the session bus (D-Bus).
open_mode How a routed file is shown: "tab" opens a new tab (:tab drop), "current" replaces the current window (:drop). Multiple files always open as tabs. Default "tab".
close_to_tray Windows and Linux. When true, the close button hides the window to the notification area (system tray) instead of quitting; Neovim keeps running, so the instance stays resident (and reusable via single_instance). Left-click the tray icon to restore, right-click for Open/Quit. Linux needs a tray host running (StatusNotifierItem); without one the close button quits as usual. Default false.