OpenSource For You

Vim text editor receives major update after a decade

-

Classic text editor Vim has received a major new update 10 years after the release of its seventh version. Vim 8.0 includes several new features as well as various performanc­e improvemen­ts and bug fixes.

A contractio­n of Vi IMproved, Vim was released as a clone of Bill Joy’s original Vi text editor back in 1991. Though the initial versions of the open source editor were designed with a complete command-line interface, its newer builds sport some graphics to suit developers of the 21st century. The first significan­t change that Vim 8.0 features is asynchrono­us I/O support. This allows the editor to exchange messages with other processes in the background and have servers to do work and send back results to the editor. There

is also JSON support to let multiple channels communicat­e with servers. Apart from exchanging messages, the new Vim is capable of starting a job, communicat­ing with the same job and then stopping it. All this can be done through channels, and jobs can also read from or write to a buffer or file. The new version also has timers to fire a function once, repeatedly, or invoke right within the code. Also, Vim has got partials to bind arguments or a dictionary and package support to manage the collection of plugins.

For an easy way to create functions, Vim 8.0 includes the ‘lamba’ and ‘closure’ arguments. There are also some new style tests to let developers quickly write tests and keep them updated. Assert functions and a framework to run tests are available to further ease developmen­ts.

In addition to the major changes, the updated version of Vim has some minor tweaks like windows IDs and timestamps. The text editor includes DirectX support and a GTK3 GUI toolkit. Besides, Vim 8.0 fixes various bugs that were found in its previous versions. You can install the latest Vim version on any of your Linux, UNIX, Windows or Mac OS systems. It will soon debut on platforms like AmigaOS and several other Linux distributi­ons.

 ??  ??

Newspapers in English

Newspapers from India