| ex edit commands | |
:d | Delete lines |
:m | Move lines |
:co or :t | Copy lines |
:.,$d | Delete from current line to end of file |
:30, 60m0 | Move lines 30 through 60 to top of file |
:.,/pattern/co$ | Copy from current line through line containing pattern to end of file |