Complete Options Reference
All 457 options across Vim and Neovim
Comprehensive lookup table of every Neovim and Vim option: name, short name, type, scope, availability, and a one-line summary.
Every option known to Neovim and/or Vim, with its short name, type, scope, and availability. Cross-referenced from Setting Options. Use this as a lookup when you encounter an option name in a config file or plugin and want to know what it controls and which editor ships it.
Availability: N+V โ both Neovim and Vim. N โ Neovim only (Vim doesn't ship it). V โ Vim only (Neovim removed or never implemented it). Scope: global, win (window-local), buf (buffer-local). Type: bool, num, str.
Total: 457 options (350 in both, 15 Neovim-only, 92 Vim-only). For full documentation of any option, run :help '{option}' in Neovim or Vim.
| Option | Type | Scope | Avail. | Summary |
|---|---|---|---|---|
aleph / al |
num | global | N+V | ASCII code of the letter Aleph (Hebrew) |
allowrevins / ari |
bool | global | N+V | allow CTRL-_ in insert mode |
altkeymap / akm |
V | obsolete option for Farsi | ||
ambiwidth / ambw |
str | global | N+V | what to do with Unicode chars of ambiguous width |
antialias / anti |
V | Mac OS X: use smooth, antialiased fonts | ||
arabic / arab |
bool | win | N+V | for Arabic as a default second language |
arabicshape / arshape |
bool | global | N+V | do shaping for Arabic characters |
autochdir / acd |
bool | global | N+V | change directory to the file in the current window |
autocomplete / ac |
V | enable automatic completion in insert mode | ||
autocompletedelay / acl |
V | delay in msec before menu appears after typing | ||
autocompletetimeout / act |
V | initial decay timeout for autocompletion algorithm | ||
autoindent / ai |
bool | buf | N+V | take indent for new line from previous line |
autoread / ar |
bool | buf | N+V | autom. read file when changed outside of Vim |
autoshelldir / asd |
V | change directory to the shell's current directory | ||
autowrite / aw |
bool | global | N+V | automatically write file if changed |
autowriteall / awa |
bool | global | N+V | as 'autowrite', but works with more commands |
background / bg |
str | global | N+V | "dark" or "light", used for highlight colors |
backspace / bs |
str | global | N+V | how backspace works at start of line |
backup / bk |
bool | global | N+V | keep backup file after overwriting a file |
backupcopy / bkc |
str | buf | N+V | make backup as a copy, don't rename the file |
backupdir / bdir |
str | global | N+V | list of directories for the backup file |
backupext / bex |
str | global | N+V | extension used for the backup file |
backupskip / bsk |
str | global | N+V | no backup for files that match these patterns |
balloondelay / bdlay |
V | delay in mS before a balloon may pop up | ||
ballooneval / beval |
V | switch on balloon evaluation in the GUI | ||
balloonevalterm / bevalterm |
V | switch on balloon evaluation in the terminal | ||
balloonexpr / bexpr |
V | expression to show in balloon | ||
belloff / bo |
str | global | N+V | do not ring the bell for these reasons |
binary / bin |
bool | buf | N+V | read/write/edit file in binary mode |
bioskey / biosk |
V | MS-DOS: use bios calls for input characters | ||
bomb |
bool | buf | N+V | prepend a Byte Order Mark to the file |
breakat / brk |
str | global | N+V | characters that may cause a line break |
breakindent / bri |
bool | win | N+V | wrapped line repeats indent |
breakindentopt / briopt |
str | win | N+V | settings for breakindent |
browsedir / bsdir |
str | global | N+V | which directory to start browsing in |
bufhidden / bh |
str | buf | N+V | what to do when buffer is no longer in window |
buflisted / bl |
bool | buf | N+V | whether the buffer shows up in the buffer list |
buftype / bt |
str | buf | N+V | special type of buffer |
casemap / cmp |
str | global | N+V | specifies how case of letters is changed |
cdhome / cdh |
bool | global | N+V | change directory to the home directory by ":cd" |
cdpath / cd |
str | global | N+V | list of directories searched with ":cd" |
cedit |
str | global | N+V | key used to open the command-line window |
channel |
num | buf | N | |
charconvert / ccv |
str | global | N+V | expression for character encoding conversion |
chistory / chi |
V | maximum number of quickfix lists in history | ||
cindent / cin |
bool | buf | N+V | do C program indenting |
cinkeys / cink |
str | buf | N+V | keys that trigger indent when cindent is set |
cinoptions / cino |
str | buf | N+V | how to do indenting when cindent is set |
cinscopedecls / cinsd |
str | buf | N+V | words that are recognized by 'cino-g' |
cinwords / cinw |
str | buf | N+V | words where 'si' and 'cin' add an indent |
clipboard / cb |
str | global | N+V | use the clipboard as the unnamed register |
clipmethod / cpm |
V | specify order of what clipboard methods to use | ||
cmdheight / ch |
num | global | N+V | number of lines to use for the command-line |
cmdwinheight / cwh |
num | global | N+V | height of the command-line window |
colorcolumn / cc |
str | win | N+V | columns to highlight |
columns / co |
num | global | N+V | number of columns in the display |
comments / com |
str | buf | N+V | patterns that can start a comment line |
commentstring / cms |
str | buf | N+V | template for comments; used for fold marker |
compatible / cp |
bool | global | N+V | behave Vi-compatible as much as possible |
complete / cpt |
str | buf | N+V | specify how insert mode completion works |
completefunc / cfu |
str | buf | N+V | function to be used for insert mode completion |
completeitemalign / cia |
str | global | N | |
completeopt / cot |
str | buf | N+V | options for insert mode completion |
completepopup / cpp |
V | options for the insert mode completion info popup | ||
completeslash / csl |
str | buf | N+V | like 'shellslash' for completion |
completetimeout / cto |
V | initial decay timeout for CTRL-N and CTRL-P | ||
concealcursor / cocu |
str | win | N+V | whether concealable text is hidden in cursor line |
conceallevel / cole |
num | win | N+V | whether concealable text is shown or hidden |
confirm / cf |
bool | global | N+V | ask what to do about unsaved/read-only files |
conskey / consk |
V | get keys directly from console (MS-DOS only) | ||
copyindent / ci |
bool | buf | N+V | make autoindent use existing indent structure |
cpoptions / cpo |
str | global | N+V | flags for Vi-compatible behavior |
cryptmethod / cm |
V | type of encryption to use for file writing | ||
cscopepathcomp / cspc |
V | how many components of the path to show | ||
cscopeprg / csprg |
V | command to execute cscope | ||
cscopequickfix / csqf |
V | use quickfix window for cscope results | ||
cscoperelative / csre |
V | Use cscope.out path basename as prefix | ||
cscopetag / cst |
V | use cscope for tag commands | ||
cscopetagorder / csto |
V | determines ":cstag" search order | ||
cscopeverbose / csverb |
V | give messages when adding a cscope database | ||
cursorbind / crb |
bool | win | N+V | move cursor in window as it moves in other windows |
cursorcolumn / cuc |
bool | win | N+V | highlight the screen column of the cursor |
cursorline / cul |
bool | win | N+V | highlight the screen line of the cursor |
cursorlineopt / culopt |
str | win | N+V | settings for cursorline |
debug |
str | global | N+V | set to "msg" to see all error messages |
define / def |
str | buf | N+V | pattern to be used to find a macro definition |
delcombine / deco |
bool | global | N+V | delete combining characters on their own |
dictionary / dict |
str | buf | N+V | list of file names used for keyword completion |
diff |
bool | win | N+V | use diff mode for the current window |
diffanchors / dia |
V | list of {address} to force anchoring of a diff | ||
diffexpr / dex |
str | global | N+V | expression used to obtain a diff file |
diffopt / dip |
str | global | N+V | options for using diff mode |
digraph / dg |
bool | global | N+V | enable the entering of digraphs in insert mode |
directory / dir |
str | global | N+V | list of directory names for the swap file |
display / dy |
str | global | N+V | list of flags for how to display text |
eadirection / ead |
str | global | N+V | in which direction 'equalalways' works |
edcompatible / ed |
bool | global | N+V | toggle flags of ":substitute" command |
emoji / emo |
bool | global | N+V | emoji characters are considered full width |
encoding / enc |
str | global | N+V | encoding used internally |
endoffile / eof |
bool | buf | N+V | write CTRL-Z at end of the file |
endofline / eol |
bool | buf | N+V | write <EOL> for last line in file |
equalalways / ea |
bool | global | N+V | windows are automatically made the same size |
equalprg / ep |
str | buf | N+V | external program to use for "=" command |
errorbells / eb |
bool | global | N+V | ring the bell for error messages |
errorfile / ef |
str | global | N+V | name of the errorfile for the QuickFix mode |
errorformat / efm |
str | buf | N+V | description of the lines in the error file |
esckeys / ek |
V | recognize function keys in insert mode | ||
eventignore / ei |
str | global | N+V | autocommand events that are ignored |
eventignorewin / eiw |
str | win | N+V | autocommand events that are ignored in a window |
expandtab / et |
bool | buf | N+V | use spaces when Tab is inserted |
exrc / ex |
bool | global | N+V | read init files in the current directory |
fileencoding / fenc |
str | buf | N+V | file encoding for multibyte text |
fileencodings / fencs |
str | global | N+V | automatically detected character encodings |
fileformat / ff |
str | buf | N+V | file format used for file I/O |
fileformats / ffs |
str | global | N+V | automatically detected values for fileformat |
fileignorecase / fic |
bool | global | N+V | ignore case when using file names |
filetype / ft |
str | buf | N+V | type of file, used for autocommands |
fillchars / fcs |
str | win | N+V | characters to use for displaying special items |
findfunc / ffu |
str | buf | N+V | function to be called for the /:find/ command |
fixendofline / fixeol |
bool | buf | N+V | make sure last line in file has <EOL> |
fkmap / fk |
V | obsolete option for Farsi | ||
foldclose / fcl |
str | global | N+V | close a fold when the cursor leaves it |
foldcolumn / fdc |
str | win | N+V | width of the column used to indicate folds |
foldenable / fen |
bool | win | N+V | set to display all folds open |
foldexpr / fde |
str | win | N+V | expression used when foldmethod is "expr" |
foldignore / fdi |
str | win | N+V | ignore lines when foldmethod is "indent" |
foldlevel / fdl |
num | win | N+V | close folds with a level higher than this |
foldlevelstart / fdls |
num | global | N+V | foldlevel when starting to edit a file |
foldmarker / fmr |
str | win | N+V | markers used when foldmethod is "marker" |
foldmethod / fdm |
str | win | N+V | folding type |
foldminlines / fml |
num | win | N+V | minimum number of lines for a fold to be closed |
foldnestmax / fdn |
num | win | N+V | maximum fold depth |
foldopen / fdo |
str | global | N+V | for which commands a fold will be opened |
foldtext / fdt |
str | win | N+V | expression used to display for a closed fold |
formatexpr / fex |
str | buf | N+V | expression used with "gq" command |
formatlistpat / flp |
str | buf | N+V | pattern used to recognize a list header |
formatoptions / fo |
str | buf | N+V | how automatic formatting is to be done |
formatprg / fp |
str | buf | N+V | name of external program used with "gq" command |
fsync / fs |
bool | global | N+V | whether to invoke fsync() after file write |
gdefault / gd |
bool | global | N+V | the ":substitute" flag 'g' is default on |
grepformat / gfm |
str | global | N+V | format of grepprg output |
grepprg / gp |
str | buf | N+V | program to use for ":grep" |
guicursor / gcr |
str | global | N+V | GUI: settings for cursor shape and blinking |
guifont / gfn |
str | global | N+V | GUI: Name(s) of font(s) to be used |
guifontset / gfs |
V | GUI: Names of multibyte fonts to be used | ||
guifontwide / gfw |
str | global | N+V | list of font names for double-wide characters |
guiheadroom / ghr |
V | GUI: pixels room for window decorations | ||
guiligatures / gli |
V | GTK GUI: ASCII characters that can form shapes | ||
guioptions / go |
str | global | N+V | GUI: Which components and options are used |
guipty |
V | GUI: try to use a pseudo-tty for ":!" commands | ||
guitablabel / gtl |
str | global | N+V | GUI: custom label for a tab page |
guitabtooltip / gtt |
str | global | N+V | GUI: custom tooltip for a tab page |
helpfile / hf |
str | global | N+V | full path name of the main help file |
helpheight / hh |
num | global | N+V | minimum height of a new help window |
helplang / hlg |
str | global | N+V | preferred help languages |
hidden / hid |
bool | global | N+V | don't unload buffer when it is /abandon/ed |
highlight / hl |
str | global | N+V | sets highlighting mode for various occasions |
history / hi |
num | global | N+V | number of command-lines that are remembered |
hkmap / hk |
bool | global | N+V | Hebrew keyboard mapping |
hkmapp / hkp |
bool | global | N+V | phonetic Hebrew keyboard mapping |
hlsearch / hls |
bool | global | N+V | highlight matches with last search pattern |
icon |
bool | global | N+V | let Vim set the text of the window icon |
iconstring |
str | global | N+V | string to use for the Vim icon text |
ignorecase / ic |
bool | global | N+V | ignore case in search patterns |
imactivatefunc / imaf |
V | function to enable/disable the X input method | ||
imactivatekey / imak |
V | key that activates the X input method | ||
imcmdline / imc |
bool | global | N+V | use IM when starting to edit a command line |
imdisable / imd |
bool | global | N+V | do not use the IM in any mode |
iminsert / imi |
num | buf | N+V | use :lmap or IM in insert mode |
imsearch / ims |
num | buf | N+V | use :lmap or IM when typing a search pattern |
imstatusfunc / imsf |
V | function to obtain X input method status | ||
imstyle / imst |
V | specifies the input style of the input method | ||
inccommand / icm |
str | global | N | |
include / inc |
str | buf | N+V | pattern to be used to find an include file |
includeexpr / inex |
str | buf | N+V | expression used to process an include line |
incsearch / is |
bool | global | N+V | highlight match while typing search pattern |
indentexpr / inde |
str | buf | N+V | expression used to obtain the indent of a line |
indentkeys / indk |
str | buf | N+V | keys that trigger indenting with indentexpr |
infercase / inf |
bool | buf | N+V | adjust case of match for keyword completion |
insertmode / im |
bool | global | N+V | start the edit of a file in insert mode |
isfname / isf |
str | global | N+V | characters included in file names and pathnames |
isident / isi |
str | global | N+V | characters included in identifiers |
iskeyword / isk |
str | buf | N+V | characters included in keywords |
isprint / isp |
str | global | N+V | printable characters |
joinspaces / js |
bool | global | N+V | two spaces after a period with a join command |
jumpoptions / jop |
str | global | N+V | specifies how jumping is done |
key |
V | encryption key | ||
keymap / kmp |
str | buf | N+V | name of a keyboard mapping |
keymodel / km |
str | global | N+V | enable starting/stopping selection with keys |
keyprotocol / kpc |
V | what keyboard protocol to use for what terminal | ||
keywordprg / kp |
str | buf | N+V | program to use for the "K" command |
langmap / lmap |
str | global | N+V | alphabetic characters for other language mode |
langmenu / lm |
str | global | N+V | language to be used for the menus |
langnoremap / lnr |
bool | global | N+V | do not apply 'langmap' to mapped characters |
langremap / lrm |
bool | global | N+V | do apply 'langmap' to mapped characters |
laststatus / ls |
num | global | N+V | tells when last window has status lines |
lazyredraw / lz |
bool | global | N+V | don't redraw while executing macros |
lhistory / lhi |
V | maximum number of location lists in history | ||
linebreak / lbr |
bool | win | N+V | wrap long lines at a blank |
lines |
num | global | N+V | number of lines in the display |
linespace / lsp |
num | global | N+V | number of pixel lines to use between characters |
lisp |
bool | buf | N+V | automatic indenting for Lisp |
lispoptions / lop |
str | buf | N+V | changes how Lisp indenting is done |
lispwords / lw |
str | buf | N+V | words that change how lisp indenting works |
list |
bool | win | N+V | show Tab and <EOL> |
listchars / lcs |
str | win | N+V | characters for displaying in list mode |
loadplugins / lpl |
bool | global | N+V | load plugin scripts when starting up |
luadll |
V | name of the Lua dynamic library | ||
macatsui |
V | Mac GUI: use ATSUI text drawing | ||
magic |
bool | global | N+V | changes special characters in search patterns |
makeef / mef |
str | global | N+V | name of the errorfile for ":make" |
makeencoding / menc |
str | buf | N+V | encoding of external make/grep commands |
makeprg / mp |
str | buf | N+V | program to use for the ":make" command |
matchpairs / mps |
str | buf | N+V | pairs of characters that "%" can match |
matchtime / mat |
num | global | N+V | tenths of a second to show matching paren |
maxcombine / mco |
num | global | N+V | maximum nr of combining characters displayed |
maxfuncdepth / mfd |
num | global | N+V | maximum recursive depth for user functions |
maxmapdepth / mmd |
num | global | N+V | maximum recursive depth for mapping |
maxmem / mm |
V | maximum memory (in Kbyte) used for one buffer | ||
maxmempattern / mmp |
num | global | N+V | maximum memory (in Kbyte) used for pattern search |
maxmemtot / mmt |
V | maximum memory (in Kbyte) used for all buffers | ||
menuitems / mis |
num | global | N+V | maximum number of items in a menu |
messagesopt / mopt |
str | global | N | |
mkspellmem / msm |
str | global | N+V | memory used before /:mkspell/ compresses the tree |
modeline / ml |
bool | buf | N+V | recognize modelines at start or end of file |
modelineexpr / mle |
bool | global | N+V | allow setting expression options from a modeline |
modelines / mls |
num | global | N+V | number of lines checked for modelines |
modelinestrict / mlst |
V | only allow safe options in modelines | ||
modifiable / ma |
bool | buf | N+V | changes to the text are not possible |
modified / mod |
bool | buf | N+V | buffer has been modified |
more |
bool | global | N+V | pause listings when the whole screen is filled |
mouse |
str | global | N+V | enable the use of mouse clicks |
mousefocus / mousef |
bool | global | N+V | keyboard focus follows the mouse |
mousehide / mh |
bool | global | N+V | hide mouse pointer while typing |
mousemodel / mousem |
str | global | N+V | changes meaning of mouse buttons |
mousemoveevent / mousemev |
bool | global | N+V | report mouse moves with <MouseMove> |
mousescroll |
str | global | N | amount to scroll by when scrolling with a mouse |
mouseshape / mouses |
str | global | N+V | shape of the mouse pointer in different modes |
mousetime / mouset |
num | global | N+V | max time between mouse double-click |
mzquantum / mzq |
V | the interval between polls for MzScheme threads | ||
mzschemedll |
V | name of the MzScheme dynamic library | ||
mzschemegcdll |
V | name of the MzScheme dynamic library for GC | ||
nrformats / nf |
str | buf | N+V | number formats recognized for CTRL-A command |
number / nu |
bool | win | N+V | print the line number in front of each line |
numberwidth / nuw |
num | win | N+V | number of columns used for the line number |
omnifunc / ofu |
str | buf | N+V | function for filetype-specific completion |
opendevice / odev |
bool | global | N+V | allow reading/writing devices on MS-Windows |
operatorfunc / opfunc |
str | global | N+V | function to be called for /g@/ operator |
osfiletype / oft |
V | no longer supported | ||
packpath / pp |
str | global | N+V | list of directories used for packages |
paragraphs / para |
str | global | N+V | nroff macros that separate paragraphs |
paste |
bool | global | N+V | allow pasting text |
pastetoggle / pt |
str | global | N+V | key code that causes 'paste' to toggle |
patchexpr / pex |
str | global | N+V | expression used to patch a file |
patchmode / pm |
str | global | N+V | keep the oldest version of a file |
path / pa |
str | buf | N+V | list of directories searched with "gf" et.al. |
perldll |
V | name of the Perl dynamic library | ||
preserveindent / pi |
bool | buf | N+V | preserve the indent structure when reindenting |
previewheight / pvh |
num | global | N+V | height of the preview window |
previewpopup / pvp |
V | use popup window for preview | ||
previewwindow / pvw |
bool | win | N+V | identifies the preview window |
printdevice / pdev |
V | name of the printer to be used for :hardcopy |
||
printencoding / penc |
V | encoding to be used for printing | ||
printexpr / pexpr |
V | expression used to print PostScript for :hardcopy |
||
printfont / pfn |
V | name of the font to be used for :hardcopy |
||
printheader / pheader |
V | format of the header used for :hardcopy |
||
printmbcharset / pmbcs |
V | CJK character set to be used for :hardcopy |
||
printmbfont / pmbfn |
V | font names to be used for CJK output of :hardcopy |
||
printoptions / popt |
V | controls the format of :hardcopy output |
||
prompt / prompt |
bool | global | N+V | enable prompt in ex mode |
pumblend / pb |
num | global | N | |
pumheight / ph |
num | global | N+V | maximum number of items to show in the popup menu |
pumopt / pumopt |
V | additional options for the popup menu | ||
pumwidth / pw |
num | global | N+V | minimum width of the popup menu |
pythondll |
V | name of the Python 2 dynamic library | ||
pythonhome |
V | name of the Python 2 home directory | ||
pythonthreedll |
V | name of the Python 3 dynamic library | ||
pythonthreehome |
V | name of the Python 3 home directory | ||
pyxversion / pyx |
num | global | N+V | Python version used for pyx* commands |
quickfixtextfunc / qftf |
str | global | N+V | function for the text in the quickfix window |
quoteescape / qe |
str | buf | N+V | escape characters used in a string |
readonly / ro |
bool | buf | N+V | disallow writing the buffer |
redrawdebug / rdb |
str | global | N | |
redrawtime / rdt |
num | global | N+V | timeout for hlsearch and /:match/ highlighting |
regexpengine / re |
num | global | N+V | default regexp engine to use |
relativenumber / rnu |
bool | win | N+V | show relative line number in front of each line |
remap |
bool | global | N+V | allow mappings to work recursively |
renderoptions / rop |
V | options for text rendering on Windows | ||
report |
num | global | N+V | threshold for reporting nr. of lines changed |
restorescreen / rs |
V | Win32: restore screen when exiting | ||
revins / ri |
bool | global | N+V | inserting characters will work backwards |
rightleft / rl |
bool | win | N+V | window is right-to-left oriented |
rightleftcmd / rlc |
str | win | N+V | commands for which editing works right-to-left |
rubydll |
V | name of the Ruby dynamic library | ||
ruler / ru |
bool | global | N+V | show cursor line and column in the status line |
rulerformat / ruf |
str | global | N+V | custom format for the ruler |
runtimepath / rtp |
str | global | N+V | list of directories used for runtime files |
scroll / scr |
num | win | N+V | lines to scroll with CTRL-U and CTRL-D |
scrollback / scbk |
num | buf | N | |
scrollbind / scb |
bool | win | N+V | scroll in window as other windows scroll |
scrollfocus / scf |
V | scroll wheel applies to window under pointer | ||
scrolljump / sj |
num | global | N+V | minimum number of lines to scroll |
scrolloff / so |
num | win | N+V | minimum nr. of lines above and below cursor |
scrolloffpad / sop |
V | vertically center cursor at end of file | ||
scrollopt / sbo |
str | global | N+V | how scrollbind should behave |
sections / sect |
str | global | N+V | nroff macros that separate sections |
secure |
bool | global | N+V | secure mode for reading .vimrc in current dir |
selection / sel |
str | global | N+V | what type of selection to use |
selectmode / slm |
str | global | N+V | when to use select mode instead of visual mode |
sessionoptions / ssop |
str | global | N+V | options for /:mksession/ |
shada / sd |
str | global | N | use /shada/ file upon startup and exiting |
shadafile / sdf |
str | global | N | |
shell / sh |
str | global | N+V | name of shell to use for external commands |
shellcmdflag / shcf |
str | global | N+V | flag to shell to execute one command |
shellpipe / sp |
str | global | N+V | string to put output of ":make" in error file |
shellquote / shq |
str | global | N+V | quote character(s) for around shell command |
shellredir / srr |
str | global | N+V | string to put output of filter in a temp file |
shellslash / ssl |
bool | global | N+V | use forward slash for shell file names |
shelltemp / stmp |
bool | global | N+V | whether to use a temp file for shell commands |
shelltype / st |
V | Amiga: influences how to use a shell | ||
shellxescape / sxe |
str | global | N+V | characters to escape when 'shellxquote' is ( |
shellxquote / sxq |
str | global | N+V | like 'shellquote', but include redirection |
shiftround / sr |
bool | global | N+V | round indent to multiple of shiftwidth |
shiftwidth / sw |
num | buf | N+V | number of spaces to use for (auto)indent step |
shortmess / shm |
str | global | N+V | list of flags, reduce length of messages |
shortname / sn |
V | Filenames assumed to be 8.3 chars | ||
showbreak / sbr |
str | win | N+V | string to use at the start of wrapped lines |
showcmd / sc |
bool | global | N+V | show (partial) command somewhere |
showcmdloc / sloc |
str | global | N+V | where to show (partial) command |
showfulltag / sft |
bool | global | N+V | show full tag pattern when completing tag |
showmatch / sm |
bool | global | N+V | briefly jump to matching bracket if insert one |
showmode / smd |
bool | global | N+V | message on status line to show current mode |
showtabline / stal |
num | global | N+V | tells when the tab pages line is displayed |
sidescroll / ss |
num | global | N+V | minimum number of columns to scroll horizontal |
sidescrolloff / siso |
num | win | N+V | min. nr. of columns to left and right of cursor |
signcolumn / scl |
str | win | N+V | when and how to display the sign column |
smartcase / scs |
bool | global | N+V | no ignore case when pattern has uppercase |
smartindent / si |
bool | buf | N+V | smart autoindenting for C programs |
smarttab / sta |
bool | global | N+V | use shiftwidth when inserting Tab |
smoothscroll / sms |
bool | win | N+V | scroll by screen lines when wrap is set |
softtabstop / sts |
num | buf | N+V | number of spaces that Tab uses while editing |
spell |
bool | win | N+V | enable spell checking |
spellcapcheck / spc |
str | buf | N+V | pattern to locate end of a sentence |
spellfile / spf |
str | buf | N+V | files where /zg/ and /zw/ store words |
spelllang / spl |
str | buf | N+V | language(s) to do spell checking for |
spelloptions / spo |
str | buf | N+V | options for spell checking |
spellsuggest / sps |
str | global | N+V | method(s) used to suggest spelling corrections |
splitbelow / sb |
bool | global | N+V | new window from split is below the current one |
splitkeep / spk |
str | global | N+V | determines scroll behavior for split windows |
splitright / spr |
bool | global | N+V | new window is put right of the current one |
startofline / sol |
bool | global | N+V | commands move cursor to first non-blank in line |
statuscolumn / stc |
str | win | N | custom format for the status column |
statusline / stl |
str | win | N+V | custom format for the status line |
statuslineopt / stlo |
V | additional options for the /status-line/ | ||
suffixes / su |
str | global | N+V | suffixes that are ignored with multiple match |
suffixesadd / sua |
str | buf | N+V | suffixes added when searching for a file |
swapfile / swf |
bool | buf | N+V | whether to use a swapfile for a buffer |
swapsync / sws |
V | how to sync the swap file | ||
switchbuf / swb |
str | global | N+V | sets behavior when switching to another buffer |
synmaxcol / smc |
num | buf | N+V | maximum column to find syntax items |
syntax / syn |
str | buf | N+V | syntax to be loaded for current buffer |
tabclose / tcl |
str | global | N+V | which tab page to focus when closing a tab |
tabline / tal |
str | global | N+V | custom format for the console tab pages line |
tabpagemax / tpm |
num | global | N+V | maximum number of tab pages for /-p/ and "tab all" |
tabstop / ts |
num | buf | N+V | number of spaces that Tab in file uses |
tagbsearch / tbs |
bool | global | N+V | use binary searching in tags files |
tagcase / tc |
str | buf | N+V | how to handle case when searching in tags files |
tagfunc / tfu |
str | buf | N+V | function to get list of tag matches |
taglength / tl |
num | global | N+V | number of significant characters for a tag |
tagrelative / tr |
bool | global | N+V | file names in tag file are relative |
tags / tag |
str | buf | N+V | list of file names used by the tag command |
tagstack / tgst |
bool | global | N+V | push tags onto the tag stack |
tcldll |
V | name of the Tcl dynamic library | ||
term |
N+V | name of the terminal | ||
termbidi / tbidi |
bool | global | N+V | terminal takes care of bi-directionality |
termencoding / tenc |
str | global | N+V | character encoding used by the terminal |
termguicolors / tgc |
bool | global | N+V | enable 24-bit RGB color in the TUI |
termpastefilter / tpf |
str | global | N | |
termsync / tsy |
bool | global | N+V | enable terminal sync mode for redraw |
termwinkey / twk |
V | key that precedes a Vim command in a terminal | ||
termwinscroll / twsl |
V | max number of scrollback lines in a terminal window | ||
termwinsize / tws |
V | size of a terminal window | ||
termwintype / twt |
V | MS-Windows: type of pty to use for terminal window | ||
terse |
bool | global | N+V | shorten some messages |
textauto / ta |
V | obsolete, use fileformats |
||
textmode / tx |
V | obsolete, use fileformat |
||
textwidth / tw |
num | buf | N+V | maximum width of text that is being inserted |
thesaurus / tsr |
str | buf | N+V | list of thesaurus files for keyword completion |
thesaurusfunc / tsrfu |
str | buf | N+V | function to be used for thesaurus completion |
tildeop / top |
bool | global | N+V | tilde command "~" behaves like an operator |
timeout / to |
bool | global | N+V | time out on mappings and key codes |
timeoutlen / tm |
num | global | N+V | time out time in milliseconds |
title |
bool | global | N+V | let Vim set the title of the window |
titlelen |
num | global | N+V | percentage of 'columns' used for window title |
titleold |
str | global | N+V | old title, restored when exiting |
titlestring |
str | global | N+V | string to use for the Vim window title |
toolbar / tb |
V | GUI: which items to show in the toolbar | ||
toolbariconsize / tbis |
V | size of the toolbar icons (for GTK 2 only) | ||
ttimeout |
bool | global | N+V | time out on mappings |
ttimeoutlen / ttm |
num | global | N+V | time out time for key codes in milliseconds |
ttybuiltin / tbi |
V | use built-in termcap before external termcap | ||
ttyfast / tf |
bool | global | N+V | indicates a fast terminal connection |
ttymouse / ttym |
V | type of mouse codes generated | ||
ttyscroll / tsl |
V | maximum number of lines for a scroll | ||
ttytype / tty |
N+V | alias for 'term' | ||
undodir / udir |
str | global | N+V | where to store undo files |
undofile / udf |
bool | buf | N+V | save undo information in a file |
undolevels / ul |
num | buf | N+V | maximum number of changes that can be undone |
undoreload / ur |
num | global | N+V | max nr of lines to save for undo on a buffer reload |
updatecount / uc |
num | global | N+V | after this many characters flush swap file |
updatetime / ut |
num | global | N+V | after this many milliseconds flush swap file |
varsofttabstop / vsts |
str | buf | N+V | a list of number of spaces when typing Tab |
vartabstop / vts |
str | buf | N+V | a list of number of spaces for Tabs |
verbose / vbs |
num | global | N+V | give informative messages |
verbosefile / vfile |
str | global | N+V | file to write messages in |
viewdir / vdir |
str | global | N+V | directory where to store files with :mkview |
viewoptions / vop |
str | global | N+V | specifies what to save for :mkview |
viminfo / vi |
V | use .viminfo file upon startup and exiting | ||
viminfofile / vif |
V | file name used for the viminfo file | ||
virtualedit / ve |
str | win | N+V | when to use virtual editing |
visualbell / vb |
bool | global | N+V | use visual bell instead of beeping |
warn |
bool | global | N+V | warn for shell command when buffer was changed |
weirdinvert / wiv |
V | for terminals that have weird inversion method | ||
whichwrap / ww |
str | global | N+V | allow specified keys to cross line boundaries |
wildchar / wc |
num | global | N+V | command-line character for wildcard expansion |
wildcharm / wcm |
num | global | N+V | like 'wildchar' but also works when mapped |
wildignore / wig |
str | global | N+V | files matching these patterns are not completed |
wildignorecase / wic |
bool | global | N+V | ignore case when completing file names |
wildmenu / wmnu |
bool | global | N+V | use menu for command line completion |
wildmode / wim |
str | global | N+V | mode for 'wildchar' command-line expansion |
wildoptions / wop |
str | global | N+V | specifies how command line completion is done |
winaltkeys / wak |
str | global | N+V | when the windows system handles ALT keys |
winbar / wbr |
str | win | N | |
winblend / winbl |
num | win | N | |
winborder |
str | global | N | |
wincolor / wcr |
V | window-local highlighting | ||
window / wi |
num | global | N+V | nr of lines to scroll for CTRL-F and CTRL-B |
winfixbuf / wfb |
bool | win | N+V | keep window focused on a single buffer |
winfixheight / wfh |
bool | win | N+V | keep window height when opening/closing windows |
winfixwidth / wfw |
bool | win | N+V | keep window width when opening/closing windows |
winheight / wh |
num | global | N+V | minimum number of lines for the current window |
winhighlight / winhl |
str | win | N+V | window-local highlighting |
winminheight / wmh |
num | global | N+V | minimum number of lines for any window |
winminwidth / wmw |
num | global | N+V | minimal number of columns for any window |
winptydll |
V | name of the winpty dynamic library | ||
winwidth / wiw |
num | global | N+V | minimal number of columns for current window |
wlseat / wse |
V | the Wayland seat to use | ||
wlsteal / wst |
V | allow focus stealing functionality for Wayland | ||
wltimeoutlen / wtm |
V | timeout to use when polling in Wayland | ||
wrap |
bool | win | N+V | long lines wrap and continue on the next line |
wrapmargin / wm |
num | buf | N+V | chars from the right where wrapping starts |
wrapscan / ws |
bool | global | N+V | searches wrap around the end of the file |
write |
bool | global | N+V | writing to a file is allowed |
writeany / wa |
bool | global | N+V | write to file with no need for "!" override |
writebackup / wb |
bool | global | N+V | make a backup before overwriting a file |
writedelay / wd |
num | global | N+V | delay this many msec for each char (for debug) |
xtermcodes |
V | request terminal codes from an xterm |
See also: options.setting