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.
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 dedicated lightweight model optimized for speed. Configure the completionModel per provider in your global configuration:
return [
'johannschopplich.copilot' => [
'provider' => 'google',
'providers' => [
'google' => [
'apiKey' => env('GOOGLE_API_KEY'),
'model' => 'gemini-3.1-pro-preview',
// Fast model for completions
'completionModel' => 'gemini-3-flash-preview'
]
]
]
];
Disabling Inline Suggestions
To disable inline suggestions globally for all writer fields:
return [
'johannschopplich.copilot' => [
'completion' => false
]
];
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
]
]
];