1- *options.txt* For Vim version 9.1. Last change: 2025 Mar 14
1+ *options.txt* For Vim version 9.1. Last change: 2025 Apr 08
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1717,6 +1717,19 @@ A jump table for the options with a short description can be found at |Q_op|.
17171717 This option cannot be set from a | modeline | or in the | sandbox | , for
17181718 security reasons.
17191719
1720+ *'chistory'* *'chi'*
1721+ 'chistory' 'chi' number (default: 10)
1722+ global
1723+ {only available when compiled with the | +quickfix |
1724+ feature}
1725+ Number of quickfix lists that should be remembered for the quickfix
1726+ stack. Must be between 1 and 100. If the option is set to a value
1727+ that is lower than the amount of entries in the quickfix list stack,
1728+ entries will be removed starting from the oldest one. If the current
1729+ quickfix list was removed, then the quickfix list at top of the stack
1730+ (the most recently created) will be used in its place. For additional
1731+ info, see | quickfix-stack | .
1732+
17201733 *'cindent'* *'cin'* *'nocindent'* *'nocin'*
17211734'cindent' 'cin' boolean (default off)
17221735 local to buffer
@@ -2655,7 +2668,7 @@ A jump table for the options with a short description can be found at |Q_op|.
26552668 *E1193* *E1194* *E1195* *E1196* *E1230*
26562669 *E1197* *E1198* *E1199* *E1200* *E1201*
26572670 xchacha20 XChaCha20 Cipher with Poly1305 Message Authentication
2658- Code. Medium strong till strong encryption.
2671+ Code. Medium strong to strong encryption.
26592672 Encryption is provided by the libsodium library, it
26602673 requires Vim to be built with | +sodium | .
26612674 It adds a seed and a message authentication code (MAC)
@@ -2910,7 +2923,8 @@ A jump table for the options with a short description can be found at |Q_op|.
29102923 security reasons.
29112924
29122925 *'dip'* *'diffopt'*
2913- 'diffopt' 'dip' string (default "internal,filler,closeoff")
2926+ 'diffopt' 'dip' string (default
2927+ "internal,filler,closeoff,inline:simple")
29142928 global
29152929 {not available when compiled without the | +diff |
29162930 feature}
@@ -2975,6 +2989,24 @@ A jump table for the options with a short description can be found at |Q_op|.
29752989 Use the indent heuristic for the internal
29762990 diff library.
29772991
2992+ inline:{text} Highlight inline differences within a change.
2993+ See | view-diffs | . Supported values are:
2994+
2995+ none Do not perform inline highlighting.
2996+ simple Highlight from first different
2997+ character to the last one in each
2998+ line. This is the default if no
2999+ `inline:` value is set.
3000+ char Use internal diff to perform a
3001+ character-wise diff and highlight the
3002+ difference.
3003+ word Use internal diff to perform a
3004+ | word | -wise diff and highlight the
3005+ difference. Non-alphanumeric
3006+ multi-byte characters such as emoji
3007+ and CJK characters are considered
3008+ individual words.
3009+
29783010 internal Use the internal diff library. This is
29793011 ignored when 'diffexpr' is set. *E960*
29803012 When running out of memory when writing a
@@ -3571,8 +3603,8 @@ A jump table for the options with a short description can be found at |Q_op|.
35713603 *'fillchars'* *'fcs'*
35723604'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~,lastline:@")
35733605 global or local to window | global-local |
3574- Characters to fill the statuslines, vertical separators and special
3575- lines in the window.
3606+ Characters to fill the statuslines, vertical separators, special
3607+ lines in the window and truncated text in the | ins-completion-menu | .
35763608 It is a comma-separated list of items. Each item has a name, a colon
35773609 and the value of that item: | E1511 |
35783610
@@ -3587,6 +3619,8 @@ A jump table for the options with a short description can be found at |Q_op|.
35873619 diff '-' deleted lines of the 'diff' option
35883620 eob '~' empty lines below the end of a buffer
35893621 lastline '@' 'display' contains lastline/truncate
3622+ trunc '>' truncated text in the
3623+ | ins-completion-menu | .
35903624
35913625 Any one that is omitted will fall back to the default.
35923626
@@ -3603,9 +3637,14 @@ A jump table for the options with a short description can be found at |Q_op|.
36033637 stlnc StatusLineNC | hl-StatusLineNC |
36043638 vert VertSplit | hl-VertSplit |
36053639 fold Folded | hl-Folded |
3640+ foldopen FoldColumn | hl-FoldColumn |
3641+ foldclose FoldColumn | hl-FoldColumn |
3642+ foldsep FoldColumn | hl-FoldColumn |
36063643 diff DiffDelete | hl-DiffDelete |
36073644 eob EndOfBuffer | hl-EndOfBuffer |
36083645 lastline NonText | hl-NonText |
3646+ trunc one of the many Popup menu highlighting groups like
3647+ | hl-PmenuSel |
36093648
36103649 *'findfunc'* *'ffu'* *E1514*
36113650'findfunc' 'ffu' string (default empty)
@@ -4392,10 +4431,10 @@ A jump table for the options with a short description can be found at |Q_op|.
43924431 v:Visual,V:VisualNOS,w:WarningMsg,
43934432 W:WildMenu,f:Folded,F:FoldColumn,
43944433 A:DiffAdd,C:DiffChange,D:DiffDelete,
4395- T:DiffText,>:SignColumn,-:Conceal ,
4396- B:SpellBad,P:SpellCap,R:SpellRare ,
4397- L:SpellLocal,+:Pmenu,=:PmenuSel ,
4398- k:PmenuMatch,<:PmenuMatchSel,
4434+ T:DiffText,E:DiffTextAdd,>:SignColumn ,
4435+ -:Conceal, B:SpellBad,P:SpellCap,
4436+ R:SpellRare, L:SpellLocal,+:Pmenu,
4437+ =:PmenuSel, k:PmenuMatch,<:PmenuMatchSel,
43994438 [:PmenuKind,]:PmenuKindSel,
44004439 {:PmenuExtra,} :PmenuExtraSel,
44014440 x:PmenuSbar,X:PmenuThumb,*:TabLine,
@@ -4447,7 +4486,8 @@ A jump table for the options with a short description can be found at |Q_op|.
44474486 | hl-DiffAdd | A added line in diff mode
44484487 | hl-DiffChange | C changed line in diff mode
44494488 | hl-DiffDelete | D deleted line in diff mode
4450- | hl-DiffText | T inserted text in diff mode
4489+ | hl-DiffText | T changed text in diff mode
4490+ | hl-DiffTextAdd | E inserted text in diff mode
44514491 | hl-SignColumn | > column used for | signs |
44524492 | hl-Conceal | - the placeholders used for concealed characters
44534493 (see 'conceallevel' )
@@ -5296,6 +5336,18 @@ A jump table for the options with a short description can be found at |Q_op|.
52965336 temporarily when performing an operation where redrawing may cause
52975337 flickering or cause a slowdown.
52985338
5339+ *'lhistory'* *'lhi'*
5340+ 'lhistory' 'lhi' number (default: 10)
5341+ local to window
5342+ {only available when compiled with the | +quickfix |
5343+ feature}
5344+ Like 'chistory' , but for the location list stack associated with a
5345+ window. If the option is changed in either the location list window
5346+ itself or the window that is associated with the location list stack,
5347+ the new value will also be applied to the other one. This means this
5348+ value will always be the same for a given location list window and its
5349+ corresponding window. See | quickfix-stack | for additional info.
5350+
52995351 *'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
53005352'linebreak' 'lbr' boolean (default off)
53015353 local to window
@@ -6459,6 +6511,17 @@ A jump table for the options with a short description can be found at |Q_op|.
64596511 global
64606512 Determines the maximum number of items to show in the popup menu for
64616513 Insert mode completion. When zero as much space as available is used.
6514+ | ins-completion-menu | .
6515+
6516+ *'pummaxwidth'* *'pmw'*
6517+ 'pummaxwidth' 'pmw' number (default 0)
6518+ global
6519+ Determines the maximum width to use for the popup menu for completion.
6520+ When zero, there is no maximum width limit, otherwise the popup menu
6521+ will never be wider than this value. Truncated text will be indicated
6522+ by "trunc" value of 'fillchars' option.
6523+
6524+ This option takes precedence over 'pumwidth' .
64626525 | ins-completion-menu | .
64636526
64646527 *'pumwidth'* *'pw'*
0 commit comments