the move command
Vim has a :move (:m) command.
To move line 2 to line 8, run :2m8
:14,17m$ this moves lines 14-17 to the end of the file.
:3m. this moves line 3 to the current line.
Vim has a :move (:m) command.
To move line 2 to line 8, run :2m8
:14,17m$ this moves lines 14-17 to the end of the file.
:3m. this moves line 3 to the current line.