1248 shaares
2 results
tagged
tips
The one-page guide to Python: usage, examples, links, snippets, and more.
Supprimer des lignes vides :
:g/^$/d
:g will execute a command on lines which match a regex. The regex is 'blank line' and the command is :d (delete)
Remplacer un caract_re par un saut de ligne (\r)
:%s/<le caractère>/\r/g