User Tools

Site Tools


bordel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bordel [2024/12/24 11:50] – [Commandes utiles VIM] albanbordel [2024/12/24 11:52] (current) alban
Line 60: Line 60:
 ==== Commandes utiles VIM ==== ==== Commandes utiles VIM ====
   * A pour aller en fin de ligne en mode édition et a pour aller en fin de mot en mode édition   * A pour aller en fin de ligne en mode édition et a pour aller en fin de mot en mode édition
-  * Put your cursor on the first # character, press CtrlV (or CtrlQ for gVim), and go down until the last commented line and press x, that will delete all the # characters vertically.+  * Pour commenter :
  
-For commenting a block of text is almost the same:+Put your cursor on the first # character, press CtrlV (or CtrlQ for gVim), and go down until the last commented line and press x, that will delete all the # characters vertically. 
 + 
 +  * Decommenter 
  
     First, go to the first line you want to comment, press CtrlV. This will put the editor in the VISUAL BLOCK mode.     First, go to the first line you want to comment, press CtrlV. This will put the editor in the VISUAL BLOCK mode.
bordel.1735041003.txt.gz · Last modified: by alban