1- *version9.txt* For Vim version 9.1. Last change: 2025 Feb 11
1+ *version9.txt* For Vim version 9.1. Last change: 2025 Feb 23
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41573,8 +41573,11 @@ Include the "linematch" algorithm for the 'diffopt' setting. This aligns
4157341573changes between buffers on similar lines improving the diff highlighting in
4157441574Vim
4157541575
41576- Adjusted default values ~
41577- -----------------------
41576+ *changed-9.2*
41577+ Changed~
41578+ -------
41579+
41580+ Default values: ~
4157841581- the default 'history' option value has been increased to 200 and removed
4157941582 from |defaults.vim|
4158041583- the default 'backspace' option for Vim has been set to "indent,eol,start"
@@ -41584,61 +41587,69 @@ Adjusted default values ~
4158441587- the default value of the 'keyprotocol' option has been updated and support
4158541588 for the ghostty terminal emulator (using kitty protocol) has been added
4158641589
41587- *changed-9.2*
41588- Changed~
41589- -------
41590- - use 'smoothscroll' logic for CTRL-F and CTRL-B for pagewise scrolling
41591- - use 'smoothscroll' logic for CTRL-D and CTRL-U for half-pagewise scrolling
41590+
41591+ Completion: ~
41592+ - allow to complete directories from 'cdpath' for |:cd| and similar commands,
41593+ add the "cd_in_path" completion type for e.g. |:command-complete| and
41594+ |getcompletion()|
41595+ - allow to complete shell commands and files using the new shellcmdline
41596+ completion type using |:command-complete| and |getcmdcomplpat()|
41597+ - allow to specify additional attributes in the completion menu (allows to
41598+ mark deprecated attributes from LSP server) |complete-items|
41599+ - the completed word and completion type are provided when handling the
41600+ |CompleteDone| autocommand in the |v:event| dictionary
41601+ - |complete_info()| returns the list of matches shown in the poppu menu via
41602+ the "matches" key
41603+ - New option value for 'completeopt':
41604+ "nosort" - do not sort completion results
41605+ "preinsert" - highlight to be inserted values
41606+ - handle multi-line completion as expected
41607+ - improved commandline completion for the |:hi| command
41608+
41609+ Options: ~
4159241610- the default for 'commentstring' contains whitespace padding to have
4159341611 automatic comments look nicer |comment-install|
4159441612- 'completeopt' is now a |global-local| option.
4159541613- 'nrformats' accepts the new "blank" suboption, to determine a signed or
4159641614 unsigned number based on whitespace in front of a minus sign.
41615+ - add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41616+ behaviour/inconsistency (see |d-special| and |cw|).
41617+ - 'rulerformat' now supports the |stl-%!| item
41618+ - use 'smoothscroll' logic for CTRL-F / CTRL-B for pagewise scrolling
41619+ and CTRL-D / CTRL-U for half-pagewise scrolling
41620+
41621+ Ex commands: ~
4159741622- allow to specify a priority when defining a new sign |:sign-define|
41598- - provide information about function arguments using the get(func, "arity")
41599- function |get()-func|
4160041623- |:bwipe| also wipes jumplist and tagstack data
4160141624- moving in the buffer list using |:bnext| and similar commands, behaves as
4160241625 documented and skips help buffers (if not run from a help buffer, else
4160341626 moves to the next/previous help buffer).
41604- - allow to complete directories from 'cdpath' for |:cd| and similar commands,
41605- add the "cd_in_path" completion type for e.g. |:command-complete| and
41606- |getcompletion()|
41607- - allow to complete shell commands and files using the new shellcmdline
41608- completion type using |:command-complete| and |getcmdcomplpat()|
41609- - add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41610- behaviour/inconsistency (see |d-special| and |cw|).
41611- - allow to specify additional attributes in the completion menu (allows to
41612- mark deprecated attributes from LSP server) |complete-items|
41613- - the regex engines match correctly case-insensitive multi-byte characters
41614- (and apply proper case folding)
4161541627- |:keeppatterns| preserves the last substitute pattern when used with |:s|
41628+
41629+ Functions: ~
41630+ - provide information about function arguments using the get(func, "arity")
41631+ function |get()-func|
4161641632- |setqflist()| and |setloclist()| can optionally try to preserve the current
4161741633 selection in the quickfix list with the "u" action.
41634+ - allow to pass local Vim script variables to python interpreter |py3eval()|
41635+ - |getwininfo()| now also returns the "leftcol" property for a window
41636+ - |v:stacktrace| The stack trace of the exception most recently caught and
41637+ not finished
41638+ - Add the optional {opts} |Dict| argument to |getchar()| to control: cursor
41639+ behaviour, return type and whether or not to simplify the returned key
41640+
41641+ Others: ~
41642+ - the regex engines match correctly case-insensitive multi-byte characters
41643+ (and apply proper case folding)
4161841644- the putty terminal is detected using an |TermResponse| autocommand in
4161941645 |defaults.vim| and Vim switches to a dark background
4162041646- the |help-TOC| package is included to ease navigating the documentation.
4162141647- an interactive tutor plugin has been included |vim-tutor-mode|, can be
4162241648 started via |:Tutor|
4162341649- improve the |vimtutor| and add a second chapter for more advanced tips
41624- - allow to pass local Vim script variables to python interpreter |py3eval()|
41625- - |getwininfo()| now also returns the "leftcol" property for a window
41626- - 'rulerformat' now supports the |stl-%!| item
41627- - the completed word and completion type are provided when handling the
41628- |CompleteDone| autocommand in the |v:event| dictionary
41629- - |complete_info()| returns the list of matches shown in the poppu menu via
41630- the "matches" key
41631- - |v:stacktrace| The stack trace of the exception most recently caught and
41632- not finished
41633- - New option value for 'completeopt':
41634- "nosort" - do not sort completion results
41635- "preinsert" - highlight to be inserted values
4163641650- add |dist#vim9#Launch()| and |dist#vim9#Open()| to the |vim-script-library|
4163741651 and decouple it from |netrw|
4163841652- new digraph "APPROACHES THE LIMIT" using ".="
41639- - Add the optional {opts} |Dict| argument to |getchar()| to control: cursor
41640- behaviour, return type and whether or not to simplify the returned key
41641- - handle multi-line completion as expected
4164241653
4164341654 *added-9.2*
4164441655Added ~
0 commit comments