bordel
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bordel [2024/12/24 11:51] – alban | bordel [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 | ||
| - | * Pour commenter/ | + | * Pour commenter : |
| 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. | 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. | ||
| - | For commenting a block of text is almost the same: | + | * 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.1735041070.txt.gz · Last modified: by alban
