vi multi-line comments and canceled

Multi-line comments

1, the command line mode, press Shift + v enters VISUAL LINE mode

       

 

2. Select the annotation content

       

 

3, pressing Ctrl + Shift + v locking block

      

 

4, is inserted by pressing Shift + i

      

 

5, an input comment character such as: '//', exit press esc

        


Multi-line comments Cancel

1,2,3, the first three steps above multi-line comments

4. Press the d delete '//' and press esc exit

       

Guess you like

Origin www.cnblogs.com/chungeyuan/p/11374776.html