How do I move a line or selection up or down in Vim?
:move +1 / :move -2
The :move command relocates lines to a specific position without using delete and paste.
:move +1 / :move -2
The :move command relocates lines to a specific position without using delete and paste.