In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "linux vim how to carry out batch comments for ordinary files", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "linux vim how to carry out batch comments for ordinary files" bar!
Background of the event: multiple nginx configuration files need to be annotated and tested, and batch comments are used because it is troublesome to use # comments one by one
Because of the need for secrecy, the following will use a testing machine to do the exercise one, Ctrl + v to enter the block selection mode, then move the cursor to select the line you want to comment, and then press the uppercase I to enter the line to enter the first insert mode to enter the comment symbol #, after typing, double-click ESC,Vim will automatically add comments to all the lines you select and save and exit to complete the comments. ! [] (https://cache.yisu.com/upload/information/20200309/28/17271.jpg?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=) 2. Uncomment Ctrl + v to enter block selection mode Then move the cursor to select you want to cancel the comments on the line, press d, comments on the elimination of everyone can test thank you for your reading, the above is the "linux vim how to carry out batch comments on ordinary documents in batch comments" after the study of this article, I believe that you have a more profound understanding of the problem of how vim in linux batch comments ordinary documents, the specific use of cases also need to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.