How do I configure Vim's command-line tab completion to show a list of matches?
:set wildmode=longest,list
By default, Vim's command-line completion just cycles through matches one at a time.
:set wildmode=longest,list
By default, Vim's command-line completion just cycles through matches one at a time.
set smoothscroll
By default, Neovim's half-page scroll commands (, , , ) count movement by text lines, not screen rows.
set completeopt+=popup
Adding popup to completeopt makes Vim display extra information — such as function signatures or documentation — for the currently highlighted completion it
set colorcolumn=+1
The colorcolumn option highlights one or more vertical columns to help keep lines within a length limit.
set foldlevelstart=N
When Vim opens a file with folds enabled, it uses the foldlevelstart option to decide how many fold levels to open automatically.
:set pumblend=10
Neovim's 'pumblend' option controls the pseudo-transparency of the insert-mode completion popup menu (and other floating windows).
:set concealcursor=nvi
When 'conceallevel' is 2 or higher, Vim hides syntax markers—turning raw Markdown like bold into visual bold or collapsing LaTeX commands.
: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.
nnoremap <nowait> {key} {action}
The flag on a mapping tells Vim not to delay waiting for a longer key sequence.
:set cmdheight=0
Setting cmdheight=0 in Neovim 0.
:setglobal
Vim maintains two values for most options: a global default that applies to new windows and buffers, and a local copy that can be overridden per-buffer or per-w
:set shortmess+=I
The shortmess option is a string of single-character flags that tell Vim which messages to suppress or abbreviate.
:set showbreak=+++
When wrap is enabled, Vim wraps long lines at the screen edge, but there is no built-in visual marker to distinguish a wrapped continuation from a brand-new lin
set winbar=%f
Neovim 0.
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 grepprg=rg\ --vimgrep\ --smart-case
By default, Vim's :grep command calls the system grep.
:set {option}^=value
Vim's :set option^=value operator prepends a value to the front of a list-style option, giving it the highest priority.
zug
When spell checking is active, pressing zg over a word adds it to your personal word list so Vim stops flagging it.
:set title
Enabling title tells Vim to update the terminal window's title bar with information about the current file.