In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
It is believed that many inexperienced people don't know what to do about how to search the vim setting highlight in Linux. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Vim search Settings highlight
When linux vim opens the document search string, the settings are searched to highlight the string.
There are two ways:
1. Temporary settings: vim opens the document-- > enter set hlsearch on the command line.
Disadvantages: after closing the document, the next time you open it, you need to reset it again.
2. Permanent setting (recommended): configure in ~ / .vimrc
Vim / .vimrc
Set nuset tabstop=4set shiftwidth=4set autoindentset expandtabset titleset hlsearch
Source / .vimrc
Then save and exit.
Advantages: one-time setting, permanent effect.
After reading the above, have you mastered how vim searches for highlights in Linux? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.