invert all lines, suggested by @nrn@bsd.networks
This commit is contained in:
parent
f70eb857f0
commit
bf5cacf5b8
4
index.md
4
index.md
|
@ -128,6 +128,10 @@ Helpful documents:
|
||||||
|
|
||||||
:g/<p>/+,/<\/p>/-!fmt -40
|
: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"
|
#### Swap "Lastname, Firstname" to "Firstname, Lastname"
|
||||||
|
|
||||||
:%s/\(.*\), \(.*\)/\2 \1/
|
:%s/\(.*\), \(.*\)/\2 \1/
|
||||||
|
|
Loading…
Reference in New Issue