Created
October 7, 2013 09:45
-
-
Save nielsvanderbeke/6865259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Affiche le nombre de ligne | |
:set nu | |
#supprime des lignes dans un fichier | |
:debut,find | |
#Met le char # devant les 20 lignes suivantes, le ^ correspond au début de la ligne | |
:.,+20 s/^/#/ | |
#reexcute la derniere commande tapée | |
SHIFT+. | |
# turn off autoindent when you paste code | |
:set paste | |
# turn on autoindent again | |
:set nopaste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment