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 only)
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 only)
Key Description
single_instance Windows only. 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.
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 only. 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. Default false.