HeadlinesBriefing favicon HeadlinesBriefing.com

Vim 9.2 Released: Enhanced Scripting, Wayland Support, and Modern Defaults

Hacker News: Front Page •
×

The Vim project has released Vim 9.2 with major improvements to the Vim9 scripting language, enhanced diff mode, and platform-specific updates. The update brings fuzzy matching for completion, Wayland support, and modernized default settings that better suit contemporary development workflows.

Comprehensive completion features now include fuzzy matching during insert mode and the ability to complete words from registers using `CTRL-X CTRL-R`. The `'completeopt'` flags like `nosort` and `nearest` provide finer control over match display and ordering. Platform support has expanded with full Wayland UI and clipboard functionality, while Linux systems now follow the XDG Base Directory Specification using `$HOME/.config/vim` for configuration.

Significant language enhancements include native support for Enums, Generic functions, and the Tuple data type. Built-in functions are now integrated as object methods, and classes support protected `_new()` methods. The release also introduces a built-in interactive tutor plugin accessible via `:Tutor` for modernized learning. Default values have been updated across the board, including increasing `'history'` from 50 to 200, enabling `'showcmd'` and `'ruler'` by default, and optimizing GTK font size to 12pt for high-DPI monitors.