Vim / Neovim Configuration
Neovim configuration is passed to require("agent-harbor").setup().
require("agent-harbor").setup({
daemon = {
url = "http://127.0.0.1:3001",
auto_start = false,
},
panel = {
mode = "split",
side = "right",
width = 82,
},
task_entry = {
agent_type = "claude",
model = "sonnet",
},
})| Option | Default | Use |
|---|---|---|
daemon.url | nil | Override daemon discovery. |
daemon.pid_file | nil | Override PID-file discovery. |
daemon.poll_interval_ms | 1000 | Daemon polling interval. |
daemon.probe_timeout_ms | 1000 | Probe timeout. |
daemon.auto_start | false | Start Agent Harbor from Neovim. |
daemon.executable | ah | Executable for auto-start. |
panel.mode | split | Use split or floating panel behavior. |
panel.width | 82 | Panel width in columns. |
task_entry.* | varies | Defaults for new task forms. |
reply.overlay_height | 5 | Reply overlay height. |
voice.mode | click-to-talk | Voice reply mode. |
cross_task_files | preview | Preview, switch, or open a new tab for cross-task files. |
docs.url | docs site URL | Page opened by :AgentHarborDocs. |
Vim 9 fallback users configure:
call agent_harbor#setup({
\ 'daemon': {'url': 'http://127.0.0.1:3001'},
\ 'panel': {'width': 82},
\ })