How do I make Vim's completion popup menu partially transparent so I can see text behind it?
:set pumblend=10
Neovim's 'pumblend' option controls the pseudo-transparency of the insert-mode completion popup menu (and other floating windows).
:set pumblend=10
Neovim's 'pumblend' option controls the pseudo-transparency of the insert-mode completion popup menu (and other floating windows).
:set spellfile={path}
By default, when you use zg to add a word to Vim's spell-check dictionary, it is saved in a file in your Vim data directory.
set complete+=kspell
Adding kspell to the complete option makes and draw from the active spell word list — every word Vim considers correctly spelled.
set wildmode=longest:list,full
Setting wildmode=longest:list,full gives Vim a completion behavior similar to shells like bash and zsh.
:set infercase
The infercase option makes Vim's keyword completion smart about capitalization: it adapts each match to reflect the casing of the characters you've already type
<C-x><C-d>
in insert mode triggers defined identifier completion — it searches for identifiers that match the partial word before the cursor by scanning #define statemen
:set wildmode=list:longest
Vim's wildmode option controls how the command line behaves when you press to complete filenames, buffer names, or Ex commands.
searchcount()
The searchcount() function returns a dictionary containing the current search state: which match the cursor is on, how many total matches exist, and whether the
:set wildcharm=<Tab>
The wildcharm option designates a key that, when it appears inside a mapping, triggers wildmenu completion on the command line — just as if you had pressed in
:set path+=** | :find
By adding to Vim's path option and using :find, you can search for any file recursively through your project tree with tab completion — no plugins required.
<C-x><C-v>
The key sequence in insert mode triggers Vim command-line completion — the same completion engine used at the : command prompt.
<C-d> (in command mode)
Pressing in Vim's command line displays the full list of matching completions below the command prompt, without cycling through them one at a time.
command-line #command-line #completion #ex-commands #navigation
:set complete-=i
Vim's complete option controls which sources are scanned when you press or to complete a word.
:find **/*.py
Vim's built-in :find command supports recursive glob patterns, making it possible to locate and open files anywhere in a project without installing a fuzzy find
set complete=.,w,b,u,t
The complete option controls which sources Vim scans when you press or for generic keyword completion.
:set wildoptions=pum
Setting wildoptions=pum tells Neovim to use its popup menu for command-line tab completion instead of the traditional horizontal wildmenu bar.
<C-x><C-k>
Vim's insert-mode completion system includes dictionary lookup via .
<C-x><C-t>
Vim's insert-mode completion includes a thesaurus mode triggered by .
:set wildcharm=<C-z>
The wildchar option (default ) triggers wildcard completion interactively on the command line.
:set wildmode=list:longest,full
Vim's default Tab completion in the command-line cycles through matches one at a time, making it hard to see all available options at once.