invert all lines, suggested by @nrn@bsd.networks

This commit is contained in:
mischa 2019-04-19 18:57:09 +02:00
parent f70eb857f0
commit bf5cacf5b8
1 changed files with 4 additions and 0 deletions

View File

@ -128,6 +128,10 @@ Helpful documents:
:g/<p>/+,/<\/p>/-!fmt -40
#### Invert the order of all lines, move (m) all lines to 0
:g/1*/m0
#### Swap "Lastname, Firstname" to "Firstname, Lastname"
:%s/\(.*\), \(.*\)/\2 \1/