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
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41573,8 +41573,11 @@ Include the "linematch" algorithm for the 'diffopt' setting. This aligns
41573
41573
changes between buffers on similar lines improving the diff highlighting in
41574
41574
Vim
41575
41575
41576
- Adjusted default values ~
41577
- -----------------------
41576
+ *changed-9.2*
41577
+ Changed~
41578
+ -------
41579
+
41580
+ Default values: ~
41578
41581
- the default 'history' option value has been increased to 200 and removed
41579
41582
from |defaults.vim|
41580
41583
- the default 'backspace' option for Vim has been set to "indent,eol,start"
@@ -41584,61 +41587,69 @@ Adjusted default values ~
41584
41587
- the default value of the 'keyprotocol' option has been updated and support
41585
41588
for the ghostty terminal emulator (using kitty protocol) has been added
41586
41589
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: ~
41592
41610
- the default for 'commentstring' contains whitespace padding to have
41593
41611
automatic comments look nicer |comment-install|
41594
41612
- 'completeopt' is now a |global-local| option.
41595
41613
- 'nrformats' accepts the new "blank" suboption, to determine a signed or
41596
41614
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: ~
41597
41622
- 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|
41600
41623
- |:bwipe| also wipes jumplist and tagstack data
41601
41624
- moving in the buffer list using |:bnext| and similar commands, behaves as
41602
41625
documented and skips help buffers (if not run from a help buffer, else
41603
41626
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)
41615
41627
- |: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|
41616
41632
- |setqflist()| and |setloclist()| can optionally try to preserve the current
41617
41633
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)
41618
41644
- the putty terminal is detected using an |TermResponse| autocommand in
41619
41645
|defaults.vim| and Vim switches to a dark background
41620
41646
- the |help-TOC| package is included to ease navigating the documentation.
41621
41647
- an interactive tutor plugin has been included |vim-tutor-mode|, can be
41622
41648
started via |:Tutor|
41623
41649
- 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
41636
41650
- add |dist#vim9#Launch()| and |dist#vim9#Open()| to the |vim-script-library|
41637
41651
and decouple it from |netrw|
41638
41652
- 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
41642
41653
41643
41654
*added-9.2*
41644
41655
Added ~
0 commit comments