vim a few lines of the specified comment

2 to 50 line by adding // No Comment

:2,50 s/^/#/g

 

// delete the first number in the 2 to 50 lines

:2,50 s/^#//g

 

Reference Source:

https://www.cnblogs.com/Dennis-mi/articles/5939635.html

Guess you like

Origin www.cnblogs.com/bio-mary/p/11497330.html