Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of installing vim in linux system

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to install vim on linux systems. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.

Vi editor has existed for a long time since it was released in 1976. It not only provides users with efficient editing interface, terminal control and other functions, but also provides us with many traditional and practical functions. But the deficiency is that the Vi editor also lacks the common functions necessary for today's Unix/Linux users, such as multi-screen, syntax highlighting, multi-step undo and so on.

Therefore, the development and emergence of Vim (enhanced Vi) has brought users a more fully functional, advanced and complete text editor. Vim should be known to Linux users. It is a powerful and highly configurable cross-platform text editor suitable for Linux, OS X, Solaris, * BSD and Windows platforms.

Users who are familiar with Vim should know that its main features include window segmentation, Vimdiff, folding, flexible indentation, Unicode support, comprehensive documentation, powerful plug-in architecture, and native support for many scripting languages.

Let's take Ubuntu14.04 (Unity) to install the full version of VIM (VIM-basic) as an example:

Enter the following command at the terminal and it will be installed automatically:

Sudo apt-get install vim

Update content for Vim 8.0

Task support Microsoft user support DirectX support Asynchronous I Dot O, Channels and JSON New style Test Lambdas and Closures Partials Software package estamp timer (Asynchronous) support for GTK + 3 Viminfo merge based on timestamp

If you want to learn more about the features of Vim 8.0, check out changelog.

How to install Vim 8.0 in Ubuntu 16.04

Although Vim 8.0 has been officially released, it will take a long time to get into the official source of major Linux distributions. Fortunately, an unofficial PPA has been made for Ubuntu and its derivatives for installation, but this approach is risky and is recommended for use only in test environments.

Sudo add-apt-repository ppa:jonathonf/vim sudo apt update sudo apt install vim

After the installation is complete, you can view the release information directly using the vim command.

To uninstall the PPA source and return to the original old Vim version provided by the Ubuntu official source, you can use the following command:

Sudo apt install ppa-purge sudo ppa-purge ppa:jonathonf/vim

For other Linux distribution users, in addition to waiting for the official source update, of course, you can also manually compile the source code to try Vim 8.0.

Thank you for reading! On the linux system installation vim method to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report