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

How to set vi syntax highlighting under Open Suse

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Today, I will talk to you about how to set vi syntax highlighting under Open Suse. Many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

The problem we are talking about today is the highlight setting and display of vi syntax under Open Suse. Hope that after reading this article, you can make good use of the vi syntax highlighting settings and display under Open suse. I bought my notebook a long time ago, and now it is estimated to be obsolete, but without money, I can only make do with it. Recently, I have to learn Linux. I have tried many distributions of Linux that cannot be installed or even the installation program cannot be started.

Later, after repeated attempts, I successfully installed Open Suse on the book. If a friend is using a very old notebook, please try to install Open Suse.

After installing the corresponding driver, discard the excruciating resolution of 480 '800. Very cool to open the vi.

Dizzy, grammar has no highlights and colors. How can vi syntax highlight settings?

Have no choice but to start the journey of google again.

Solution:

A lot of people have given a catalogue:

/ usr/share/vim/vimrc (file)

/ etc/vim/vimrc (file)

It's a pity that after reinstalling the full version of vim, I still can't find the files with * addresses. There are only two files currentvim71 in my system / usr/share/vim.

Maybe it's a matter of character. Hehe.

So I searched for the vimrc file find for a long time and found it under / etc/vim.

Open the file. The halo is brightened.

The documents are as follows:

Code "/ etc/vimrc (configurationfileforvimonly)" author:KlausFranken "author:WernerFink" author:FlorianLaRoche "version:00/01/20" commentedlinesstartwith` "'" enablesyntaxhighlighting syntaxon

Fainting again is on by default.

Back to the order.

Vitest.c

You will learn to use the vi syntax under Open suse to highlight the settings and display.

After reading the above, do you have any further understanding of how to set vi syntax highlighting under Open Suse? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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