How do I speed up Vim's insert mode completion by disabling include-file scanning?
:set complete-=i
Vim's complete option controls which sources are scanned when you press or to complete a word.
:set complete-=i
Vim's complete option controls which sources are scanned when you press or to complete a word.
:set pastetoggle=<F2>
The pastetoggle option assigns a single key to toggle Vim's paste mode on and off without typing :set paste or :set nopaste every time.
:set laststatus=3
Neovim 0.
:set fillchars+=vert:│,fold:·
The fillchars option controls the filler characters Vim uses for various UI elements — window separators, fold fill lines, diff padding, and more.
:set nrformats=
The nrformats option controls which number formats (increment) and (decrement) recognize.
:set shiftwidth=0
Setting shiftwidth=0 tells Vim to use the value of tabstop wherever shiftwidth would normally be consulted — for the > and and in insert mode, and auto-indent
:set option!
For any boolean option, appending ! to :set inverts its current value.
:set equalprg={program}
The equalprg option replaces Vim's built-in = indentation operator with any external formatting program.
:set foldmarker=region,endregion
When using foldmethod=marker, Vim looks for the strings in foldmarker to identify fold boundaries.
:noautocmd w
The :noautocmd modifier runs any Ex command while suppressing all autocmd events for its duration.
grn, gra, grr, gri
Starting with Neovim 0.
nnoremap <expr> j v:count == 0 ? 'gj' : 'j'
By default, j and k move by physical lines (newline-delimited), which jumps over the entire visual span of a long wrapped line in a single keystroke.
:set tildeop
By default, ~ toggles the case of a single character and advances the cursor.
set complete=.,w,b,u,t
The complete option controls which sources Vim scans when you press or for generic keyword completion.
:set foldcolumn=3
The foldcolumn option adds a narrow column on the left side of the window that visually represents the fold structure of the file.
:set makeprg={command}
Vim's :make command runs a build program and automatically loads its output into the quickfix list so you can jump directly to errors and warnings.
:echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
When syntax highlighting looks wrong or a colorscheme override isn't taking effect, you need to know exactly which highlight groups are active under the cursor.
:set fillchars+=eob:
By default, Vim fills empty lines after the end of a buffer with ~ characters.
: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.
:set diffopt+=linematch:60
Neovim's linematch diffopt enables intra-line diff highlighting — instead of marking an entire changed line, Neovim highlights only the specific characters th