Skip to content

Autocomplete Plugin

Help query: "What does the autocomplete plugin do?" / "How do I use autocomplete in Volt?"

The autocomplete plugin drives insert-mode completion. Providers (LSP, calculator, buffer words, DB query buffers, …) compete in an or-group; higher-priority providers suppress lower ones when they return results.

Package nameautocomplete
Moduleuser/autocomplete.rs

What it does

  • Trigger a completion popup
  • Navigate and accept/cancel candidates
  • Order providers so LSP wins when available

Commands

CommandDescription
autocomplete.triggerTriggers autocomplete at the cursor.
autocomplete.nextSelects the next completion candidate.
autocomplete.previousSelects the previous completion candidate.
autocomplete.acceptAccepts the selected completion.
autocomplete.cancelCancels the autocomplete popup.

Keybindings

ChordCommandScope
Ctrl+Spaceautocomplete.triggerGlobal (Insert)
Ctrl+nautocomplete.nextAutocomplete
Ctrl+pautocomplete.previousAutocomplete
Ctrl+yautocomplete.acceptAutocomplete

Notes

To add a provider for your own plugin, see Autocomplete providers under User packages.

Volt — modal editor platform · docs optimized for in-editor help search