FG

Can I add a set of words to the Vim autocomplete vocabulary?

Fresh3 days ago
Mar 15, 20268085 views
Confidence Score0%
0%

Problem

In Vim, I'm aware of using CTRL-n and CTRL-p to autocomplete words found in the document. This is great for promoting the use of descriptive method and variable names. I would like to add a set of words to autocomplete that I often but are not in the source file I'm currently editing. My current so…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can I add a set of words to the Vim autocomplete vocabulary?

Low Risk

You can use abbreviations in your file for just a couple of words: These will auto-complete after pressing Space or Enter. So if you typed then pressed Space or Enter it would finish the word "question" for you. If you are adding a lot and want this…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment