1248 shaares
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
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