1
- *version9.txt* For Vim version 9.1. Last change: 2025 Jul 05
1
+ *version9.txt* For Vim version 9.1. Last change: 2025 Jul 08
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41553,8 +41553,12 @@ Enum support for Vim9 script |:enum|
41553
41553
41554
41554
Support for protected _new() method
41555
41555
41556
+ Support for compiling all the methods in a Vim9 class using |:defcompile|.
41557
+
41556
41558
Add support for object<{type}> as variable data type |vim9-types|
41557
41559
41560
+ Support for the |Tuple| data type in Vim script and Vim9 script.
41561
+
41558
41562
Diff mode ~
41559
41563
---------
41560
41564
Include the "linematch" algorithm for the 'diffopt' setting. This aligns
@@ -41565,29 +41569,70 @@ Improve the diff highlighting for changes within a line. Configurable using
41565
41569
the "inline" sub option value for the 'diffopt' setting, with "inline:simple"
41566
41570
being added to the default "diffopt" value (but this does not change how diff
41567
41571
mode works).
41572
+
41573
+ Completion~
41574
+ ----------
41575
+ - New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from
41576
+ registers.
41577
+ - Completion in search contexts using |/|, |?|, |:g|, |:v| and |:vimgrep|
41578
+ commands using 'wildchar'
41579
+ - ":filetype" command completion and the "filetypecmd" completion type for
41580
+ |getcompletion()| have been included.
41581
+ - Support for command-line completion of 'keymap' option values.
41582
+ - Support for |fuzzy-matching| during |ins-completion| with the "fuzzy"
41583
+ values of the 'completeopt' setting.
41584
+ - allow to complete shell commands and files using the new shellcmdline
41585
+ completion type using |:command-complete| and |getcmdcomplpat()|
41586
+ - New option value for 'wildmode':
41587
+ "noselect" - do not auto select an entry in the wildmenu
41588
+ "exacttext" - show exact matches in wildmenu with search
41589
+ completion
41590
+ - New flags for 'complete':
41591
+ "F{func}" - complete using given function
41592
+ "F" - complete using 'completefunc'
41593
+ "o" - complete using 'omnifunc'
41594
+ - New option value for 'completeopt':
41595
+ "nosort" - do not sort completion results
41596
+ "preinsert" - highlight to be inserted values
41597
+ "nearest" - sort completion results by distance to cursor
41598
+
41599
+ Platform specific~
41600
+ -----------------
41601
+ Support for Wayland UI and support for the Wayland clipboard has been added.
41602
+
41603
+ Support for the XDG Desktop Specification |xdg-base-dir| has been added and
41604
+ the environment variable |$MYVIMDIR| is set to the users personal runtime
41605
+ directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles on
41606
+ Windows).
41607
+
41608
+ Python3 support in OpenVMS is now available.
41609
+
41610
+ The Win32 GUI comes with better toolbar icons.
41568
41611
*new-other-9.2*
41569
41612
Other new features ~
41570
41613
------------------
41571
- The new packages |package-comment|, |package-nohlsearch| and |package-hlyank|
41572
- are included.
41614
+ Support for Super key mappings in GTK using <D-Key>.
41573
41615
41574
- Support for Wayland UI and support for the Wayland clipboard
41616
+ The new packages |package-comment|, |package-nohlsearch|, |package-hlyank| and
41617
+ |help-TOC| are included.
41575
41618
41576
- Support for the XDG Desktop Specification |xdg-base-dir|
41619
+ An interactive tutor plugin has been included |vim-tutor-mode| and can be
41620
+ started via |:Tutor|.
41577
41621
41578
41622
Support for translating messages in Vim script plugins using the |gettext()|
41579
- and |bindtextdomain()| functions.
41623
+ and |bindtextdomain()| functions was included .
41580
41624
41581
41625
Support highlighting the matched text and the completion kind for insert-mode
41582
41626
completion and command-line completion in |ins-completion-menu|, see
41583
- |complete-items|
41627
+ |complete-items|.
41584
41628
41585
- Support for the |Tuple| data type in Vim script and Vim9 script.
41629
+ A new vertical |tabpanel| window has been included which is a vertical
41630
+ 'tabline'.
41586
41631
41587
- Support for a vertical |tabpanel| window similar to the 'tabline'.
41632
+ The |dist#vim9#Launch()| and |dist#vim9#Open()| functions have been added to
41633
+ the |vim-script-library| and decoupled from |netrw|.
41588
41634
41589
- New Insert-mode completion: |i_CTRL-X_CTRL-R| to complete words from
41590
- registers.
41635
+ The new digraph "APPROACHES THE LIMIT" using ".=" has been added
41591
41636
41592
41637
*changed-9.2*
41593
41638
Changed~
@@ -41602,38 +41647,23 @@ Default values: ~
41602
41647
increased to 12pt to accommodate modern high-dpi monitors
41603
41648
- the default value of the 'keyprotocol' option has been updated and support
41604
41649
for the ghostty terminal emulator (using kitty protocol) has been added
41650
+ - Improved visual highlighting |hl-Visual|
41605
41651
41606
41652
Completion: ~
41607
41653
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
41608
41654
add the "cd_in_path" completion type for e.g. |:command-complete| and
41609
41655
|getcompletion()|
41610
- - allow to complete shell commands and files using the new shellcmdline
41611
- completion type using |:command-complete| and |getcmdcomplpat()|
41612
41656
- allow to specify additional attributes in the completion menu (allows to
41613
41657
mark deprecated attributes from LSP server) |complete-items|
41614
41658
- the completed word and completion type are provided when handling the
41615
41659
|CompleteDone| autocommand in the |v:event| dictionary
41616
41660
- |complete_info()| returns the list of matches shown in the poppu menu via
41617
41661
the "matches" key
41618
- - New option value for 'completeopt':
41619
- "nosort" - do not sort completion results
41620
- "preinsert" - highlight to be inserted values
41621
- "nearest" - sort completion results by distance to cursor
41622
41662
- handle multi-line completion items as expected
41623
41663
- improved commandline completion for the |:hi| command
41624
- - New option value for 'wildmode':
41625
- "noselect" - do not auto select an entry in the wildmenu
41626
- - New flags for 'complete':
41627
- "F{func}" - complete using given function
41628
- "F" - complete using 'completefunc'
41629
- "o" - complete using 'omnifunc'
41630
41664
- allow to limit matches for the 'complete' sources by using the
41631
41665
"{flag}^<limit>" notation
41632
- - add ":filetype" command completion
41633
- - add "filetypecmd" completion type for |getcompletion()|
41634
41666
- 'smartcase' applies to completion filtering
41635
- - 'wildchar' enables completion in search contexts using |/|, |?|, |:g|, |:v|
41636
- and |:vimgrep| commands
41637
41667
41638
41668
Options: ~
41639
41669
- the default for 'commentstring' contains whitespace padding to have
@@ -41680,13 +41710,7 @@ Others: ~
41680
41710
(and apply proper case folding)
41681
41711
- the putty terminal is detected using an |TermResponse| autocommand in
41682
41712
|defaults.vim| and Vim switches to a dark background
41683
- - the |help-TOC| package is included to ease navigating the documentation.
41684
- - an interactive tutor plugin has been included |vim-tutor-mode|, can be
41685
- started via |:Tutor|
41686
41713
- improve the |vimtutor| and add a second chapter for more advanced tips
41687
- - add |dist#vim9#Launch()| and |dist#vim9#Open()| to the |vim-script-library|
41688
- and decouple it from |netrw|
41689
- - new digraph "APPROACHES THE LIMIT" using ".="
41690
41714
- |CTRL-C| always closes the active |popup-window|.
41691
41715
- the configure script will favor using GTK3 over GTK2 when auto-detecting the
41692
41716
gui toolkit
@@ -41792,26 +41816,6 @@ INCOMPATIBLE CHANGES *incompatible-9.2*
41792
41816
Improved/Different MS-Windows mapping support
41793
41817
|w32-experimental-keycode-trans-strategy|
41794
41818
41795
- ==============================================================================
41796
- IMPROVEMENTS *improvements-9.2*
41797
-
41798
- Support for command-line completion of 'keymap' option values.
41799
-
41800
- Support for compiling all the methods in a Vim9 class using |:defcompile|.
41801
-
41802
- Support for Super key mappings in GTK using <D-Key>.
41803
-
41804
- Improved visual highlighting.
41805
-
41806
- Python3 support in OpenVMS.
41807
-
41808
- Support for |fuzzy-matching| during |ins-completion| with the "fuzzy"
41809
- values of the 'completeopt' setting
41810
-
41811
- The environment variable |$MYVIMDIR| is set to the users personal runtime
41812
- directory ($HOME/.vim or $HOME/.config/vim on Linux, $HOME/vimfiles
41813
- on Windows)
41814
-
41815
41819
==============================================================================
41816
41820
COMPILE TIME CHANGES *compile-changes-9.2*
41817
41821
0 commit comments