Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

OptionDefaultPluginWhat it does
agent-autofalseacpStart 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""acpWhat 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"acpWhat 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"acpHow 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-at0acpCompact conversations with Greed’s own agent once they reach this many tokens; 0 waits until they near the model’s limit
agent-editor-contexttrueacpSend agents the file you’re in, the cursor, the selection and the other files on screen with each message
agent-eval"auto"agentHow Luau from agents runs: “auto” (sandboxed, a reviewer or you for more), “ask”, “allow” or “off”
agent-greed-toolstrueacpGive agents Greed’s own tools (buffers, diagnostics, syntax queries, proposals) through greed mcp
agent-heading"model"acpWho 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-thought8000acpStop 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-tokens0acpStop Greed’s own agent once a session has read and written this many tokens, every request counted; 0 sets no limit
agent-max-turns0acpStop 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-titletrueacpWhether a panel or float showing an agent has the agent’s name as its title
agent-sessions-kept50acpHow many sessions with Greed’s own agent are kept per repository to take up again; older ones are deleted
agent-thoughtstrueacpShow what agents think in their transcripts, each thought folded to its first line (tab unfolds it); /thoughts switches it
agent-title"agent folder workspace"acpWhat 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"agentThe tool groups agents get from the start, besides those they switch on: names with spaces between, or “all”
agent-workspace-editstrueacpLet agents in a workspace of their own edit, move and delete files there without asking
assist-role"fast"assistThe model role assist’s commands ask; see :models
auto-pairs"style"coreType brackets and quotes in pairs: style (as the editing style does: on in helix and vscode, off in vim), on or off
auto-reloadtruecoreLoad files changed on disk into their buffers, unless they have unsaved changes
auto-savefalsecoreSave files on their own a moment after their edits stop
auto-save-delay1000coreHow long after the last edit auto-save saves, in milliseconds
blocks-max-lines1000blocksThe most lines of output a block’s result keeps; the rest is cut
blocks-streamtrueblocksShow 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-width50boardHow wide a board’s cards are at least, in columns: a wider board puts more of them side by side
chart-height12chartHow many lines tall a chart in the shell is, unless –height says
chat-alerts"mentions"chatWhich new messages tell you: mentions and direct messages, all the service notifies of, or none
chat-alerts-desktopfalsechatShow 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"chatWhere :chat shows your rooms outside the chat session: “sidebar”, a panel on the left, or “float”
chat-matrix-program""chatThe greed-matrix program, its name on PATH or a path; empty for the one beside greed, or else on PATH
chat-mattermost-program""chatThe greed-mattermost program, its name on PATH or a path; empty for the one beside greed, or else on PATH
chat-previewstruechatShow what links in chat messages lead to, under them, where the service can say
chat-search-days90chatHow many days back each room’s messages are fetched and kept to search; newer ones are always kept
claude-command"claude"agentHow the Claude pane starts Claude Code, e.g. “claude –continue”
color-swatchestrueswatchesShow a square in their color in front of colors like #ff8800
completion-delay150lspMilliseconds of no typing before a completion menu opens by itself; 0 opens it only when asked
completion-enter"auto"lspWhat 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"dataThe psql program the psql data source runs
data-sqlite3"sqlite3"dataThe sqlite3 program the sqlite data source runs
diagnostic-messagestruelspShow each line’s worst problem after the end of the line
editing-style"helix"coreHow editing works: helix, vim, vscode or another style a plugin adds (see :style)
effectsfalsecoreSmall animations, like a wave of light through the status line when you switch files
effects-changestruecoreLight up text someone other than you changed, like an agent or a formatter, fading out
effects-dimfalsecoreDim the text of the panes you’re not in
effects-jumpstruecoreLight up the line a jump lands on, briefly
flash-duration300flashHow long copied text flashes, in milliseconds
float-layout"free"panesHow new tabs lay out their floating views: “free”, “one”, “tiled”, “cascade” or your own
folder-hiddenfalsefoldersShow hidden files and folders in a folder’s buffer
format-on-savetrueformatFormat files when they’re saved
grammar-downloadtruelanguagesDownload the grammar for a language Greed has none for when a file in it opens
gui-font""coreThe font the window draws text in, by family name; empty for the system’s monospaced font
gui-font-prose""coreThe 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-size15coreThe size of the window’s text in pixels, before the screen’s scale; zooming gives a window a size of its own
gui-smooth-scrolltruecoreWhether the window glides a view’s text to where it scrolled, rather than jumping there
hoard-editing-style"vscode"hoardThe 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-serversfalsehoardRun Markdown’s language servers (spelling, grammar) on notes in Hoard
hub-hosts""hubMore 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""hubThe session that follows the others on this machine; empty for the first running one by name
indent" "coreOne level of indent, spaces or a tab, in languages that don’t set their own
indent-guidestrueguidesShow a line at each level of indent
jump-label-alphabet"abcdefghijklmnopqrstuvwxyz"coreThe letters jump labels are made of, most comfortable first
line-numbers"absolute"coreHow line numbers count: “absolute”, “relative” to the cursor’s line, or “hybrid” (relative, with the cursor’s line its own number)
link-opener""coreWhat opens a link, e.g. “firefox”; empty for xdg-open, or open on macOS
mail-markdowntruemailWhether mail you write is Markdown, sent as what you wrote and the HTML it makes; off sends plain text alone
mail-program""mailThe 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-threadstruemailWhether a mail list shows each thread once, as its newest message found, rather than every message
markdown-looktruemarkdownShow Markdown with its markup hidden and its headings, code and quotes drawn as such
markup-reveal"cursor"coreWhere 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-timeout90modelsSeconds 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-hintsfalsecoreNumber the next places a word motion would go, and go there on a digit
notes-agent-schedule""notesJobs 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-concealtruenotesShow links in notes without their brackets, and markup as symbols
notes-everywherefalsenotesTreat every Markdown file as a note: concealed links and backlinks
notes-folder"~/notes"notesThe folder notes live in; ~ is your home folder
notes-project-folder".greed/notes"notesWhere 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-desktoptruenotesShow reminders as desktop notifications with notify-send or osascript, where installed
notes-remind-time"09:00"notesWhen a reminder with a date and no time goes off, as HH:MM
notes-search-case"ignore"coreHow 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"coreWhat :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"coreLike on-quit, when you’re attached over greed ssh
pane-layout"manual"panesHow new tabs arrange their panes: “manual”, “main-stack”, “columns”, “spiral” or your own
pipe-model-role"fast"pipeThe model role | model: ... asks; see :models
plugins-lock""git-pluginsThe 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"prometheusThe Prometheus server prom asks, unless –url says
restore-after-quitfalserestoreRestore a session when it starts again after it was quit, too
restore-sessiontruerestoreOpen the files a session had open when it starts again after it ended without being quit, as in a crash or a restart
rulers""guidesColumns to show a ruler at, counted from 1, like “80,100”; empty for none
scene-drawing"auto"sceneHow charts and other scenes show: auto (as an image where the terminal can draw one, else characters) or cells (characters everywhere)
scroll-margin5coreHow 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"coreHow 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""serviceThe 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-hours24coreA session nothing is attached to, with nothing running and nothing unsaved, ends after this many hours; 0 keeps it
setup-first-starttruesetupShow the setup page the first time a terminal or window attaches without a config
shell-agent-max-output30000shellHow 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-aliasestrueshellWhether a line can start with one of your shell’s aliases, read once from its startup files
shell-ask-role"fast"shellThe model role a line ending or starting with ? asks for a command; see :models
shell-blockstrueshellIn 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"shellWhere a shell completes a program’s arguments from, in order: cobra, fish, carapace, man, help
shell-completion-timeout2000shellMilliseconds a program asked for completions (kubectl, fish, carapace, –help) gets to answer
shell-confirm-lines5shellRunning a prompt of more lines than this asks first, as after pasting a transcript
shell-editortrueshellWhether 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"shellWhich 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""shellThe 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-rcfalseshellWhether the shell running those lines reads its startup files (-i), for your aliases and functions
shell-filter-search-case"ignore"coreHow 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-lines0shellA block that printed more lines than this folds as it ends, unless it failed; 0 never
shell-fold-olderfalseshellRunning a command folds the finished blocks above it, except those that failed
shell-fold-structured100shellJSON 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"shellWhen 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"shellPrograms a shell never runs with –help to complete their flags
shell-history-size5000shellHow many commands typed at shells are kept
shell-icons"plain"shellThe icons of a shell’s prompt segments: “plain” ones any font has, or “nerd” ones a Nerd Font has
shell-json-lines"pretty"shellHow 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-lines5000shellHow many lines of a block’s output a shell shows: the first half and the latest half
shell-max-record8388608shellHow many bytes of a block’s output its record keeps; the rest goes to a file in the cache folder
shell-production-contexts"prod"shellPatterns for kubernetes contexts a shell’s prompt warns about, like prod; space between them
shell-prompt"greed"shellWhat draws a shell’s prompt before its ❯: “greed” (its own segments and folder) or “starship” (your starship prompt, when starship is installed)
shell-suggestionstrueshellWhether a shell’s prompt suggests the rest of a command typed before, after the cursor
shell-watch-minutes60shellHow long a shell’s watch runs before it stops by itself, in minutes; 0 for until it’s stopped
slides-centerfalseslidesCenter what’s on a slide, across and down: each heading, and the rest as one block
slides-margin2slidesCells left empty above and left of a slide
slides-scale1slidesHow 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""snippetsWhere your own snippets are; empty for the snippets folder in your config’s folder
ssh-agent-confirm"first"coreWhen 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""coressh-agent-confirm for some machines alone, by the name of the machine the session runs on: “bastion=always devbox=never”
statusline-caps"round"statuslineThe ends of status line pills: “round” (needs a Nerd Font) or “none”
statusline-pillsfalsestatuslineShow the mode, tab, machine and session in the status line as pills in their colors
substitute-previewtruecmdlineShow what :s will change as you type it, before it runs
substitute-search-case"match"coreHow :s minds case: “smart” (only when what you type has a capital letter), “ignore”, “match”, or “default” for as search-case says
tab-width4coreHow many columns apart tab stops are, in languages that don’t set their own
terminal-esc-waittrueterminalHold 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-notificationstrueterminalWhether what a program in a terminal notifies (OSC 9, OSC 777) also goes to your desktop, as Greed’s own notifications do
terminal-scrollback10000terminalHow many lines that scrolled off a terminal’s screen are kept
terminal-shell""terminalWhat a new terminal runs, e.g. “fish -l”; empty for your $SHELL
terminal-shell-integrationtrueterminalWhether 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-width80coreHow wide :reflow (and Vim’s gq) makes lines
todo-commentstruetodo-commentsPick out TODO, FIXME and the like in comments
trashtruecoreDeleting a file or folder moves it to the trash, where there is one on the same disk
tree-icons"none"treeIcons by the names in the file tree: “none”, or “nerd” for a Nerd Font’s
undo-filestruecoreKeep each saved file’s undo history, so undo goes on after a restart
vcs-signstruevcsShow signs beside lines changed since the last commit
watch-interval10coreSeconds between looks at each watched object
web-search""agentThe search service agents search the web with: “brave”, “exa”, “tavily” or “searxng”; empty for none
web-search-url""agentWhere your SearXNG is, for web-search searxng
web-sources""agentDomains whose results agents’ searches show first, like “reuters.com docs.rs”; a domain counts its subdomains too
web-sources-onlyfalseagentAgents’ searches show only results from the web-sources domains