Vim 9.2 Released
Source: Slashdot
Vim 9.2 Release Overview
More than two years after the last major 9.1 release, the Vim project announced Vim 9.2.
Vim9 Script Improvements
- Added support for enums, generic functions, and tuple types.
- Built‑in functions can now be used as methods.
- Class handling now includes protected constructors via
_new(). - The
:defcompilecommand has been enhanced to fully compile methods, improving performance and consistency in Vim9 scripts.
Insert‑Mode Completion
- Fuzzy matching is now available, providing more flexible suggestions without extra plugins.
- Words can be completed from registers using
CTRL‑X CTRL‑R. - New
completeoptflags such asnosortandnearestgive finer control over how matches are displayed.
Diff Mode Enhancements
- Improved alignment and display of differences, especially in complex cases.
Configuration Path (XDG)
- On Linux and Unix‑like systems Vim now follows the XDG Base Directory Specification, using
$HOME/.config/vimfor user configuration (as noted in the release notes).
Wayland Support
- Full Wayland support for UI and clipboard handling.
- This support is marked as experimental in this release but is considered to be in good shape.
UI Changes
- Introduces a new vertical tab panel as an alternative to the horizontal tab line.
- The Microsoft Windows GUI now includes native dark mode support.
Download
You can obtain Vim 9.2 from the official Vim Download page.
Source: Linuxiac blog, Phoronix, and the Vim release notes.