Options
Set any of these in your init.luau, e.g. require("@greed").option.set("motion-hints", true), or while the editor runs with :set motion-hints true.
| Option | Default | Plugin | What it does |
|---|---|---|---|
agent-auto | false | acp | Start agent sessions in auto mode: Greed answers their questions where it can, the decision model judging commands by what you asked for, and asks you the rest; alt-a switches a session |
agent-auto-rules | "" | acp | What the decision model should know in auto mode, in plain words: what’s fine to do in your setup and what isn’t, like “deleting under /tmp is fine; never touch the prod cluster” |
agent-box | "auto model mode effort keys" | acp | What the line under an agent’s message box shows before its status, in the order it gives way when space is short: agent, auto (only when Greed answers its questions), mode (when not the one it started in), model, effort, keys, fields added with acp.box_field and “text in quotes” |
agent-care | "thorough" | acp | How Greed’s own agent gathers context: “thorough” maps what exists with helpers before design questions and says what it checked; “quick” only reads what an answer depends on |
agent-compact-at | 0 | acp | Compact conversations with Greed’s own agent once they reach this many tokens; 0 waits until they near the model’s limit |
agent-editor-context | true | acp | Send agents the file you’re in, the cursor, the selection and the other files on screen with each message |
agent-eval | "auto" | agent | How Luau from agents runs: “auto” (sandboxed, a reviewer or you for more), “ask”, “allow” or “off” |
agent-greed-tools | true | acp | Give agents Greed’s own tools (buffers, diagnostics, syntax queries, proposals) through greed mcp |
agent-heading | "model" | acp | Who the line under each of the agent’s turns says answered: its “model”, falling back to the agent’s name, or the agent’s “name” |
agent-max-thought | 8000 | acp | Stop a thought of Greed’s own agent once it passes this many tokens, before it acts, and ask for smaller steps; 0 lets thoughts run on |
agent-max-tokens | 0 | acp | Stop Greed’s own agent once a session has read and written this many tokens, every request counted; 0 sets no limit |
agent-max-turns | 0 | acp | Stop Greed’s own agent after this many steps in one prompt, for runs nobody watches; 0 lets it work until it’s done |
agent-pane-title | true | acp | Whether a panel or float showing an agent has the agent’s name as its title |
agent-sessions-kept | 50 | acp | How many sessions with Greed’s own agent are kept per repository to take up again; older ones are deleted |
agent-thoughts | true | acp | Show what agents think in their transcripts, each thought folded to its first line (tab unfolds it); /thoughts switches it |
agent-title | "agent folder workspace" | acp | What the line above an agent’s transcript says, in its order: agent, model, folder (in ~/where), workspace, fields added with acp.box_field and “text in quotes”; empty for no line |
agent-tool-groups | "plan" | agent | The tool groups agents get from the start, besides those they switch on: names with spaces between, or “all” |
agent-workspace-edits | true | acp | Let agents in a workspace of their own edit, move and delete files there without asking |
assist-role | "fast" | assist | The model role assist’s commands ask; see :models |
auto-pairs | "style" | core | Type brackets and quotes in pairs: style (as the editing style does: on in helix and vscode, off in vim), on or off |
auto-reload | true | core | Load files changed on disk into their buffers, unless they have unsaved changes |
auto-save | false | core | Save files on their own a moment after their edits stop |
auto-save-delay | 1000 | core | How long after the last edit auto-save saves, in milliseconds |
blocks-max-lines | 1000 | blocks | The most lines of output a block’s result keeps; the rest is cut |
blocks-stream | true | blocks | Show a block’s output under it as it comes, not only once it’s done; a block’s stream=false turns it off for that one |
board-card-width | 50 | board | How wide a board’s cards are at least, in columns: a wider board puts more of them side by side |
chart-height | 12 | chart | How many lines tall a chart in the shell is, unless –height says |
chat-alerts | "mentions" | chat | Which new messages tell you: mentions and direct messages, all the service notifies of, or none |
chat-alerts-desktop | false | chat | Show chat alerts as the desktop’s own notifications too (notify-send or osascript), for when no Greed is attached to tell you |
chat-list | "sidebar" | chat | Where :chat shows your rooms outside the chat session: “sidebar”, a panel on the left, or “float” |
chat-matrix-program | "" | chat | The greed-matrix program, its name on PATH or a path; empty for the one beside greed, or else on PATH |
chat-mattermost-program | "" | chat | The greed-mattermost program, its name on PATH or a path; empty for the one beside greed, or else on PATH |
chat-previews | true | chat | Show what links in chat messages lead to, under them, where the service can say |
chat-search-days | 90 | chat | How many days back each room’s messages are fetched and kept to search; newer ones are always kept |
claude-command | "claude" | agent | How the Claude pane starts Claude Code, e.g. “claude –continue” |
color-swatches | true | swatches | Show a square in their color in front of colors like #ff8800 |
completion-delay | 150 | lsp | Milliseconds of no typing before a completion menu opens by itself; 0 opens it only when asked |
completion-enter | "auto" | lsp | What enter does in a completion menu: “first” puts in the first item, “selected” only one moved to with tab or the arrows (otherwise enter does what it does without a menu, like running a shell’s line), “auto” lets each source say: the shell “selected”, language servers “first” |
data-psql | "psql" | data | The psql program the psql data source runs |
data-sqlite3 | "sqlite3" | data | The sqlite3 program the sqlite data source runs |
diagnostic-messages | true | lsp | Show each line’s worst problem after the end of the line |
editing-style | "helix" | core | How editing works: helix, vim, vscode or another style a plugin adds (see :style) |
effects | false | core | Small animations, like a wave of light through the status line when you switch files |
effects-changes | true | core | Light up text someone other than you changed, like an agent or a formatter, fading out |
effects-dim | false | core | Dim the text of the panes you’re not in |
effects-jumps | true | core | Light up the line a jump lands on, briefly |
flash-duration | 300 | flash | How long copied text flashes, in milliseconds |
float-layout | "free" | panes | How new tabs lay out their floating views: “free”, “one”, “tiled”, “cascade” or your own |
folder-hidden | false | folders | Show hidden files and folders in a folder’s buffer |
format-on-save | true | format | Format files when they’re saved |
grammar-download | true | languages | Download the grammar for a language Greed has none for when a file in it opens |
gui-font | "" | core | The font the window draws text in, by family name; empty for the system’s monospaced font |
gui-font-prose | "" | core | The proportional font the window draws prose in (styles with font = “prose”, like Markdown’s text), by family name; empty for the system’s sans-serif |
gui-font-size | 15 | core | The size of the window’s text in pixels, before the screen’s scale; zooming gives a window a size of its own |
gui-smooth-scroll | true | core | Whether the window glides a view’s text to where it scrolled, rather than jumping there |
hoard-editing-style | "vscode" | hoard | The editing style in Hoard: “vscode” types as soon as a key is pressed, without modes; “same” keeps the one the rest of Greed uses |
hoard-language-servers | false | hoard | Run Markdown’s language servers (spelling, grammar) on notes in Hoard |
hub-hosts | "" | hub | More machines whose hubs this machine’s hub follows, beside the ones you reached with greed ssh lately, as ssh hosts separated by spaces, like “eris mini” |
hub-session | "" | hub | The session that follows the others on this machine; empty for the first running one by name |
indent | " " | core | One level of indent, spaces or a tab, in languages that don’t set their own |
indent-guides | true | guides | Show a line at each level of indent |
jump-label-alphabet | "abcdefghijklmnopqrstuvwxyz" | core | The letters jump labels are made of, most comfortable first |
line-numbers | "absolute" | core | How line numbers count: “absolute”, “relative” to the cursor’s line, or “hybrid” (relative, with the cursor’s line its own number) |
link-opener | "" | core | What opens a link, e.g. “firefox”; empty for xdg-open, or open on macOS |
mail-markdown | true | Whether mail you write is Markdown, sent as what you wrote and the HTML it makes; off sends plain text alone | |
mail-program | "" | The greed-mail program that syncs your mail, its name on PATH or a path; empty for the one beside greed, or else on PATH | |
mail-threads | true | Whether a mail list shows each thread once, as its newest message found, rather than every message | |
markdown-look | true | markdown | Show Markdown with its markup hidden and its headings, code and quotes drawn as such |
markup-reveal | "cursor" | core | Where hidden markup (a field’s brackets, a link’s target) shows as written outside typing: cursor, once the cursor steps inside it; never |
models-idle-timeout | 90 | models | Seconds a model’s answer may go quiet before its request counts as failed and is tried again; the first bytes get three times as long. 0 waits for ever |
motion-hints | false | core | Number the next places a word motion would go, and go there on a digit |
notes-agent-schedule | "" | notes | Jobs Greed’s agent runs on its own, as JOB DAY HH:MM separated by commas, e.g. week friday 16:00, connect weekdays 08:00; DAY is daily, weekdays or a weekday’s name. Empty runs none |
notes-conceal | true | notes | Show links in notes without their brackets, and markup as symbols |
notes-everywhere | false | notes | Treat every Markdown file as a note: concealed links and backlinks |
notes-folder | "~/notes" | notes | The folder notes live in; ~ is your home folder |
notes-project-folder | ".greed/notes" | notes | Where a project keeps its notes, in the project: they’re named project:NAME, and the plan and decisions you share with agents are among them |
notes-remind-desktop | true | notes | Show reminders as desktop notifications with notify-send or osascript, where installed |
notes-remind-time | "09:00" | notes | When a reminder with a date and no time goes off, as HH:MM |
notes-search-case | "ignore" | core | How searching notes minds case: “smart” (only when what you type has a capital letter), “ignore”, “match”, or “default” for as search-case says |
on-quit | "auto" | core | What :q on the last project does to the session: “auto” ends it unless something is running (a command in a terminal, an agent at work) and keeps it then, “end” always ends it, “keep” always leaves it running to attach to again |
on-quit-remote | "keep" | core | Like on-quit, when you’re attached over greed ssh |
pane-layout | "manual" | panes | How new tabs arrange their panes: “manual”, “main-stack”, “columns”, “spiral” or your own |
pipe-model-role | "fast" | pipe | The model role | model: ... asks; see :models |
plugins-lock | "" | git-plugins | The lock file pinning plugins from git to commits; empty for plugins.lock in your config’s folder |
project-trust | "ask" | core | “ask”: a project you haven’t trusted runs none of its own code (its .greed config, language servers, formatting on save) until you say so, asked once when a file of it opens; “off”: every project runs them |
prometheus-url | "http://localhost:9090" | prometheus | The Prometheus server prom asks, unless –url says |
restore-after-quit | false | restore | Restore a session when it starts again after it was quit, too |
restore-session | true | restore | Open the files a session had open when it starts again after it ended without being quit, as in a crash or a restart |
rulers | "" | guides | Columns to show a ruler at, counted from 1, like “80,100”; empty for none |
scene-drawing | "auto" | scene | How charts and other scenes show: auto (as an image where the terminal can draw one, else characters) or cells (characters everywhere) |
scroll-margin | 5 | core | How many lines a view keeps in sight above and below the cursor, at most half of it (Vim’s and Helix’s scrolloff) |
search-case | "smart" | core | How searches you type mind case, unless their kind says otherwise: “smart” (only when what you type has a capital letter), “ignore” or “match” |
services-at-start | "" | service | The services that start in the background when Greed starts, names with spaces between (like mail hoard chat); the others start when first used |
session-idle-hours | 24 | core | A session nothing is attached to, with nothing running and nothing unsaved, ends after this many hours; 0 keeps it |
setup-first-start | true | setup | Show the setup page the first time a terminal or window attaches without a config |
shell-agent-max-output | 30000 | shell | How many bytes of a command’s output and of its errors the shell tools give an agent: the start and the end, with what’s between left out |
shell-aliases | true | shell | Whether a line can start with one of your shell’s aliases, read once from its startup files |
shell-ask-role | "fast" | shell | The model role a line ending or starting with ? asks for a command; see :models |
shell-blocks | true | shell | In the shell, esc and clicks in output go to blocks mode, to move between commands and rows and act on them |
shell-completion-sources | "cobra fish carapace man help" | shell | Where a shell completes a program’s arguments from, in order: cobra, fish, carapace, man, help |
shell-completion-timeout | 2000 | shell | Milliseconds a program asked for completions (kubectl, fish, carapace, –help) gets to answer |
shell-confirm-lines | 5 | shell | Running a prompt of more lines than this asks first, as after pasting a transcript |
shell-editor | true | shell | Whether programs you run in a shell, like git commit, open files to edit in Greed: $EDITOR, $VISUAL, $GIT_EDITOR, $JJ_EDITOR and $KUBE_EDITOR are greed edit –wait |
shell-environments | "devenv direnv" | shell | Which environments a shell loads in folders that bring one, in order, the first that applies winning: devenv, direnv, and those plugins add; empty for none |
shell-fallback | "" | shell | The shell that runs lines with pipes, globs and the like, e.g. “bash”; empty for your $SHELL (sh unless it’s sh, bash, zsh, dash, ksh, fish or nu) |
shell-fallback-rc | false | shell | Whether the shell running those lines reads its startup files (-i), for your aliases and functions |
shell-filter-search-case | "ignore" | core | How filtering a shell block with / minds case: “smart” (only when what you type has a capital letter), “ignore”, “match”, or “default” for as search-case says |
shell-fold-lines | 0 | shell | A block that printed more lines than this folds as it ends, unless it failed; 0 never |
shell-fold-older | false | shell | Running a command folds the finished blocks above it, except those that failed |
shell-fold-structured | 100 | shell | JSON or YAML output of more lines than this shows its top keys folded as it ends, and inside a fold still this long, the keys under it; 0 never |
shell-help-completion | "on-flag" | shell | When a shell runs a program with –help to complete its flags: on-flag (when you press tab on one) or never |
shell-help-never | "reboot shutdown halt poweroff init telinit kill killall pkill" | shell | Programs a shell never runs with –help to complete their flags |
shell-history-size | 5000 | shell | How many commands typed at shells are kept |
shell-icons | "plain" | shell | The icons of a shell’s prompt segments: “plain” ones any font has, or “nerd” ones a Nerd Font has |
shell-json-lines | "pretty" | shell | How a block whose lines are JSON objects or logfmt, as many logs are, shows them: “pretty” (time, level and message first, the other fields after) or “raw” |
shell-max-lines | 5000 | shell | How many lines of a block’s output a shell shows: the first half and the latest half |
shell-max-record | 8388608 | shell | How many bytes of a block’s output its record keeps; the rest goes to a file in the cache folder |
shell-production-contexts | "prod" | shell | Patterns for kubernetes contexts a shell’s prompt warns about, like prod; space between them |
shell-prompt | "greed" | shell | What draws a shell’s prompt before its ❯: “greed” (its own segments and folder) or “starship” (your starship prompt, when starship is installed) |
shell-suggestions | true | shell | Whether a shell’s prompt suggests the rest of a command typed before, after the cursor |
shell-watch-minutes | 60 | shell | How long a shell’s watch runs before it stops by itself, in minutes; 0 for until it’s stopped |
slides-center | false | slides | Center what’s on a slide, across and down: each heading, and the rest as one block |
slides-margin | 2 | slides | Cells left empty above and left of a slide |
slides-scale | 1 | slides | How many times bigger slides’ text is drawn, 1 to 4, in the window and in kitty, a big heading twice that; “fit” draws each slide as big as fits |
snippets-folder | "" | snippets | Where your own snippets are; empty for the snippets folder in your config’s folder |
ssh-agent-confirm | "first" | core | When to ask before a program in a session from greed ssh signs with your ssh key: never, first (once each time you attach) or always |
ssh-agent-confirm-hosts | "" | core | ssh-agent-confirm for some machines alone, by the name of the machine the session runs on: “bastion=always devbox=never” |
statusline-caps | "round" | statusline | The ends of status line pills: “round” (needs a Nerd Font) or “none” |
statusline-pills | false | statusline | Show the mode, tab, machine and session in the status line as pills in their colors |
substitute-preview | true | cmdline | Show what :s will change as you type it, before it runs |
substitute-search-case | "match" | core | How :s minds case: “smart” (only when what you type has a capital letter), “ignore”, “match”, or “default” for as search-case says |
tab-width | 4 | core | How many columns apart tab stops are, in languages that don’t set their own |
terminal-esc-wait | true | terminal | Hold esc a moment in terminals whose program draws on the normal screen, like Claude Code, so esc esc stops typing into it without the program getting an esc |
terminal-notifications | true | terminal | Whether what a program in a terminal notifies (OSC 9, OSC 777) also goes to your desktop, as Greed’s own notifications do |
terminal-scrollback | 10000 | terminal | How many lines that scrolled off a terminal’s screen are kept |
terminal-shell | "" | terminal | What a new terminal runs, e.g. “fish -l”; empty for your $SHELL |
terminal-shell-integration | true | terminal | Whether a terminal’s bash, zsh or fish gets the marks around prompts, commands and output and the folder it’s in, with nothing to set up |
text-width | 80 | core | How wide :reflow (and Vim’s gq) makes lines |
todo-comments | true | todo-comments | Pick out TODO, FIXME and the like in comments |
trash | true | core | Deleting a file or folder moves it to the trash, where there is one on the same disk |
tree-icons | "none" | tree | Icons by the names in the file tree: “none”, or “nerd” for a Nerd Font’s |
undo-files | true | core | Keep each saved file’s undo history, so undo goes on after a restart |
vcs-signs | true | vcs | Show signs beside lines changed since the last commit |
watch-interval | 10 | core | Seconds between looks at each watched object |
web-search | "" | agent | The search service agents search the web with: “brave”, “exa”, “tavily” or “searxng”; empty for none |
web-search-url | "" | agent | Where your SearXNG is, for web-search searxng |
web-sources | "" | agent | Domains whose results agents’ searches show first, like “reuters.com docs.rs”; a domain counts its subdomains too |
web-sources-only | false | agent | Agents’ searches show only results from the web-sources domains |