How do I hide noisy completion messages in Vim's command line?
Answer
:set shortmess+=c
Explanation
Insert-mode completion can spam the command line with status text like "match 1 of N" and related prompts. That feedback is sometimes useful, but in large files or fast completion workflows it becomes visual noise and pushes out more relevant messages. :set shortmess+=c suppresses completion-menu chatter so the command area stays quieter and easier to scan.
How it works
shortmessis a compact-message option controlled by single-letter flags+=cadds only thecflag, which suppresses specific completion messages- Using
+=is important because it preserves your existingshortmesstuning - The setting applies immediately and can be made persistent in your vimrc/init.vim
Example
Without the setting, repeatedly triggering completion may print transient status messages after each attempt. After running:
:set shortmess+=c
completion still works normally, but those command-line updates are reduced, leaving room for diagnostics, search feedback, and your own :echo output.
Tips
- Inspect current flags with
:set shortmess? - Revert just this tweak with
:set shortmess-=c - Keep this as a local experiment first, then persist it once you confirm it matches your completion workflow