Vim 9.2 arrives with full Wayland support and key improvements

  • Vim 9.2 incorporates "full" support for Wayland and the XDG Base Directory specification
  • New autocomplete options with fuzzy search and flags such as nosort y Nearest
  • Visual changes: vertical tab panel, native dark mode in Windows, and improved HiDPI display integration
  • Improvements to the Vim9 scripting language, new diff mode, and integrated interactive tutor

ViM 9.2

ViM 9.2 It is now available This represents a significant update for one of the oldest and most widely used text editors in development environments. While maintaining its minimalist essence, this edition incorporates fundamental and aesthetic changes designed to better adapt it to modern desktops and current workflows.

This time, the focus has been placed both on integration with Wayland and configuration standards in Unix-like systems and on daily usability: Improved autocomplete, new tab interface, an interactive tutor designed for beginners and a number of internal adjustments to the scripting engine and diff mode.

Vim 9.2 includes Wayland integration and the XDG specification

One of the most striking changes in Vim 9.2 is the arrival of "Full" support for WaylandThe graphical protocol that is increasingly gaining ground on Linux desktops, including in Europe, is now using Wayland to manage its interface and clipboard directly. This clearly demonstrates that the project is joining the transition already underway among desktops and distributions that have decided to reduce their dependence on X11.

Project managers indicate that this integration with Wayland is still being considered functional but experimentalTherefore, adjustments and fixes are expected in future revisions. Even so, those using desktops like GNOME, KDE Plasma, or Sway on Wayland can start testing this support now, without needing external patches or workarounds.

In parallel, Vim 9.2 adopts the XDG Base Directory specification to manage your configuration files on GNU/Linux and similar systems. Instead of concentrating everything in the home directory, the tool uses paths such as $HOME/.config/vimThis helps keep the file system more organized and in line with what many desktop applications and console utilities already do.

More powerful autocomplete with fuzzy search using Vim 9.2

The update is also noticeable in day-to-day tasks when writing code or long texts, thanks to the improvements in the word completion in insert modeVim 9.2 includes a built-in fuzzy matching system for autocompletion, so it is no longer necessary to install external plugins to have this functionality.

This fuzzy matching approach allows the editor Be more flexible when suggesting termsEven when the user doesn't remember the exact name of a function, variable, or label, the mechanism attempts to match the results to what the user actually wants to type, which can save time and reduce typos or unnecessary repetitions.

In addition, new flags are being introduced for the option completeoptas the nosort y nearestThese options are designed so that each person can customize the autocomplete behavior to their liking. For example, they allow you to prioritize suggestions closest to the current text or disable automatic sorting, which is useful in complex projects where context is more important than alphabetical order.

New possibilities for diff mode

Vim 9.2 also pays attention to file comparison, a very common feature in collaborative development environments and code reviews. The editor incorporates a new line-matching algorithm, known as linematch, which aims to improve the alignment of changes when comparing two versions of a file.

Along with this algorithm, the tool adds support for diff anchors and inline highlightingThis makes it easier to pinpoint exactly what has changed within a single line. This visual improvement can make all the difference when reviewing changes of just a few words in large blocks of text or in particularly dense code functions.

These improvements are complemented by the updating of several default values ​​that had not been touched for some time and which are now better suited to modern work environments and high-resolution displaysThis is becoming increasingly common in both offices and laptops in Spain and the rest of Europe.

Vim 9.2's revamped interface: vertical tabs and improved graphics support

In terms of visuals, one of the most noticeable new features is the addition of a vertical tab panel which serves as an alternative to the classic horizontal tab bar. This layout makes it easier to manage multiple open files, especially on large screens where there is usually more space on the sides than at the top.

Users who use the Vim graphical interface on Microsoft Windows will also notice changes: the application incorporates Native dark mode for menus and title barsas well as a more polished full-screen mode and a set of sharper toolbar icons. These adjustments aim for more consistent integration with the overall look and feel of the operating system and with the preferences of those working in low-light environments.

Taken together, these visual tweaks address the need to make a traditional editor like Vim more user-friendly. feel less anchored to the pastwithout sacrificing its keyboard shortcuts or its efficiency-focused philosophy. Compatibility with HiDPI displays and changes to default settings are especially noticeable on modern devices.

Improvements to the Vim9 scripting language

Beyond the interface and support for new protocols, Vim 9.2 strengthens the scripting language Vim9, introduced in previous versions to provide a more structured and efficient environment for creating scripts and plugins. This version includes native support for Enums, generic functions, and the Tuple data type.

Plugin developers now have protected methods _new() in the classesThis allows for finer control over how objects are instantiated. Support has also been added for integrating Vim's internal functions as object methods, making it more natural to write object-oriented code within the editor's ecosystem.

Another highlight is the introduction of :defcompile for complete compilation of methodsThis potentially improves the performance of scripts written in Vim9. These changes are aimed at those who create advanced tools on top of Vim, a common practice in European development communities where the editor still has a significant presence in open-source software projects and DevOps teams.

Integrated interactive tutor and other new features in Vim 9.2

With those approaching this editor for the first time in mind, Vim 9.2 incorporates a Interactive tutor plugin included as standard. Through the command :TutorBeginners can follow a practical guide within the program itself, without needing to resort to external manuals or tutorials on the web.

This approach aims to lower Vim's well-known learning curve, providing more guided support for new usersThis can be especially useful in educational contexts, programming academies, or technical training courses in Spain and other European countries.

Along with the tutor, the version includes the possibility of Complete words directly from recordsNew internal functions, auto-commands, additional Ex commands, and various configuration options. All of this expands the scope for customization, while maintaining the focus on providing an environment highly adaptable to the needs of each individual or team.

Availability and installation methods

Vim 9.2 is distributed as Downloadable source code from the project's official websiteThis allows it to be compiled on virtually any compatible system. In the GNU/Linux ecosystem, the update will gradually reach the repositories of the main distributions used in Europe, although the rollout times will vary depending on each project's policy.

In addition to traditional channels, the editor can be installed as Flatpak application via FlathubThis format has gained popularity in many European distributions due to its isolation and ease of updating. There is also an AppImage binary that allows Vim to run as a portable application without formal installation, which is useful for corporate environments or systems where modifying the base configuration is undesirable.

On commercial desktop platforms, such as Windows or macOS, Vim remains available both through specific installers such as through package managersThis facilitates its integration into mixed workflows in teams that combine different operating systems.

With this release, Vim reinforces its position as a veteran editor that adopts Wayland and the XDG specificationIt refines its interface with vertical tabs and dark mode, improves autocomplete and diff mode, and enhances the Vim9 scripting language, while adding an interactive tutor for new users; all of this makes for a version designed both for those who have been using it for years and for those considering giving it a try for the first time.

Firefox-Logo
Related article:
Firefox 99 arrives with improvements for Linux, Wayland, and more