@@ -2297,8 +2297,9 @@ pow({x}, {y}) Float {x} to the power of {y}
22972297prevnonblank({lnum} ) Number line nr of non-blank line <= {lnum}
22982298printf({fmt} , {expr1} ...) String format text
22992299prompt_addtext({buf} , {expr} ) none add text to a prompt buffer
2300- prompt_setprompt({buf} , {text} ) none set prompt text
23012300prompt_setcallback({buf} , {expr} ) none set prompt callback function
2301+ prompt_setinterrupt({buf} , {text} ) none set prompt interrupt function
2302+ prompt_setprompt({buf} , {text} ) none set prompt text
23022303pumvisible() Number whether popup menu is visible
23032304pyeval({expr} ) any evaluate | Python | expression
23042305py3eval({expr} ) any evaluate | python3 | expression
@@ -6506,17 +6507,11 @@ printf({fmt}, {expr1} ...) *printf()*
65066507 arguments an error is given. Up to 18 arguments can be used.
65076508
65086509
6509- prompt_setprompt({buf} , {text} ) *prompt_setprompt()*
6510- Set prompt for buffer {buf} to {text} . You most likely want
6511- {text} to end in a space.
6512- The result is only visible if {buf} has 'buftype' set to
6513- "prompt". Example: >
6514- call prompt_setprompt(bufnr(''), 'command: ')
6515-
6516-
65176510prompt_setcallback({buf} , {expr} ) *prompt_setcallback()*
6518- Set prompt callback for buffer {buf} to {expr} . This has only
6511+ Set prompt callback for buffer {buf} to {expr} . When {expr}
6512+ is an empty string the callback is removed. This has only
65196513 effect if {buf} has 'buftype' set to "prompt".
6514+
65206515 The callback is invoked when pressing Enter. The current
65216516 buffer will always be the prompt buffer. A new line for a
65226517 prompt is added before invoking the callback, thus the prompt
@@ -6541,6 +6536,22 @@ prompt_setcallback({buf}, {expr}) *prompt_setcallback()*
65416536 endif
65426537 endfunc
65436538
6539+ prompt_setinterrupt({buf} , {expr} ) *prompt_setinterrupt()*
6540+ Set a callback for buffer {buf} to {expr} . When {expr} is an
6541+ empty string the callback is removed. This has only effect if
6542+ {buf} has 'buftype' set to "prompt".
6543+
6544+ This callback will be invoked when pressing CTRL-C in Insert
6545+ mode. Without setting a callback Vim will exit Insert mode,
6546+ as in any buffer.
6547+
6548+ prompt_setprompt({buf} , {text} ) *prompt_setprompt()*
6549+ Set prompt for buffer {buf} to {text} . You most likely want
6550+ {text} to end in a space.
6551+ The result is only visible if {buf} has 'buftype' set to
6552+ "prompt". Example: >
6553+ call prompt_setprompt(bufnr(''), 'command: ')
6554+
65446555
65456556 pumvisible() *pumvisible()*
65466557 Returns non-zero when the popup menu is visible, zero
@@ -8563,7 +8574,9 @@ term_start({cmd}, {options}) *term_start()*
85638574 instead of using 'termwinsize'
85648575 "term_cols" horizontal size to use for the terminal,
85658576 instead of using 'termwinsize'
8566- "vertical" split the window vertically
8577+ "vertical" split the window vertically; note that
8578+ other window position can be defined with
8579+ command modifiers, such as | :belowright | .
85678580 "curwin" use the current window, do not split the
85688581 window; fails if the current buffer
85698582 cannot be | abandon | ed
@@ -9396,11 +9409,12 @@ vtp Compiled for vcon support |+vtp| (check vcon to find
93969409 out if it works in the current console).
93979410wildignore Compiled with 'wildignore' option.
93989411wildmenu Compiled with 'wildmenu' option.
9412+ win16 old version for MS-Windows 3.1 (always False)
93999413win32 Win32 version of Vim (MS-Windows 95 and later, 32 or
94009414 64 bits)
94019415win32unix Win32 version of Vim, using Unix files (Cygwin)
94029416win64 Win64 version of Vim (MS-Windows 64 bit).
9403- win95 Win32 version for MS-Windows 95/98/ME.
9417+ win95 Win32 version for MS-Windows 95/98/ME (always False)
94049418winaltkeys Compiled with 'winaltkeys' option.
94059419windows Compiled with support for more than one window.
94069420writebackup Compiled with 'writebackup' default on.
0 commit comments