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
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41553,8 +41553,12 @@ Enum support for Vim9 script |:enum|
4155341553
4155441554Support for protected _new() method
4155541555
41556+ Support for compiling all the methods in a Vim9 class using |:defcompile|.
41557+
4155641558Add support for object<{type}> as variable data type |vim9-types|
4155741559
41560+ Support for the |Tuple| data type in Vim script and Vim9 script.
41561+
4155841562Diff mode ~
4155941563---------
4156041564Include the "linematch" algorithm for the 'diffopt' setting. This aligns
@@ -41565,29 +41569,70 @@ Improve the diff highlighting for changes within a line. Configurable using
4156541569the "inline" sub option value for the 'diffopt' setting, with "inline:simple"
4156641570being added to the default "diffopt" value (but this does not change how diff
4156741571mode 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.
4156841611 *new-other-9.2*
4156941612Other new features ~
4157041613------------------
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>.
4157341615
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.
4157541618
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|.
4157741621
4157841622Support for translating messages in Vim script plugins using the |gettext()|
41579- and |bindtextdomain()| functions.
41623+ and |bindtextdomain()| functions was included .
4158041624
4158141625Support highlighting the matched text and the completion kind for insert-mode
4158241626completion and command-line completion in |ins-completion-menu|, see
41583- |complete-items|
41627+ |complete-items|.
4158441628
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'.
4158641631
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|.
4158841634
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
4159141636
4159241637 *changed-9.2*
4159341638Changed~
@@ -41602,38 +41647,23 @@ Default values: ~
4160241647 increased to 12pt to accommodate modern high-dpi monitors
4160341648- the default value of the 'keyprotocol' option has been updated and support
4160441649 for the ghostty terminal emulator (using kitty protocol) has been added
41650+ - Improved visual highlighting |hl-Visual|
4160541651
4160641652Completion: ~
4160741653- allow to complete directories from 'cdpath' for |:cd| and similar commands,
4160841654 add the "cd_in_path" completion type for e.g. |:command-complete| and
4160941655 |getcompletion()|
41610- - allow to complete shell commands and files using the new shellcmdline
41611- completion type using |:command-complete| and |getcmdcomplpat()|
4161241656- allow to specify additional attributes in the completion menu (allows to
4161341657 mark deprecated attributes from LSP server) |complete-items|
4161441658- the completed word and completion type are provided when handling the
4161541659 |CompleteDone| autocommand in the |v:event| dictionary
4161641660- |complete_info()| returns the list of matches shown in the poppu menu via
4161741661 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
4162241662- handle multi-line completion items as expected
4162341663- 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'
4163041664- allow to limit matches for the 'complete' sources by using the
4163141665 "{flag}^<limit>" notation
41632- - add ":filetype" command completion
41633- - add "filetypecmd" completion type for |getcompletion()|
4163441666- 'smartcase' applies to completion filtering
41635- - 'wildchar' enables completion in search contexts using |/|, |?|, |:g|, |:v|
41636- and |:vimgrep| commands
4163741667
4163841668Options: ~
4163941669- the default for 'commentstring' contains whitespace padding to have
@@ -41680,13 +41710,7 @@ Others: ~
4168041710 (and apply proper case folding)
4168141711- the putty terminal is detected using an |TermResponse| autocommand in
4168241712 |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|
4168641713- 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 ".="
4169041714- |CTRL-C| always closes the active |popup-window|.
4169141715- the configure script will favor using GTK3 over GTK2 when auto-detecting the
4169241716 gui toolkit
@@ -41792,26 +41816,6 @@ INCOMPATIBLE CHANGES *incompatible-9.2*
4179241816Improved/Different MS-Windows mapping support
4179341817|w32-experimental-keycode-trans-strategy|
4179441818
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-
4181541819==============================================================================
4181641820COMPILE TIME CHANGES *compile-changes-9.2*
4181741821
0 commit comments