Inline Suggestions
Pause typing in any writer field and Copilot suggests a continuation – press ⇥ to accept. Enabled by default for all writer fields – no configuration required.
How It Works
After a brief pause in typing (1 second by default), Copilot analyzes your current text and suggests a completion. The suggestion appears as ghost text in a subtle gray color after your cursor. Press ⇥ (Tab) to accept it, Esc to dismiss it – or just keep typing.
Luise Frey photographs rooms after everyone has left them: a school gym on the first morning of the holidays, a ferry terminal at four in the morning.
Luise Frey photographs rooms
copilot-suggestions mark to enable inline suggestions:fields:
text:
type: writer
marks:
- bold
- italic
# Append the Copilot toolbar button
- copilot
# Enable inline suggestions
- copilot-suggestions
Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Accept suggestion | ⇥ (Tab) |
| Dismiss suggestion | Esc |
| Trigger manually | , (macOS) / CTRL , (Windows/Linux) |
Completion Model
Inline suggestions use a separate, faster model, set per provider as completionModel – see Default Models for each provider's default.
Disabling Automatic Suggestions
To stop ghost text from appearing on its own in all writer fields:
return [
'johannschopplich.copilot' => [
'completion' => false
]
];
The manual trigger keeps working – press , whenever you do want a suggestion. To take inline suggestions out of a field altogether, leave the copilot-suggestions mark out of its blueprint.
Customizing Debounce Timing
The debounce controls how long Copilot waits after you stop typing before suggesting a completion. Customize the debounce duration (in milliseconds) in your configuration:
return [
'johannschopplich.copilot' => [
'completion' => [
'debounce' => 1500 // Wait 1.5 seconds
]
]
];