Note You probably want to use matze/vim-move instead.
This plugin provides a set of remappings to make moving lines around in vim
easier.
I found this set of remappings on this VimTricks substack post, and Colin Bartlett credits them to Steve Carol.
Plug 'alichtman/move-lines.vim'
In any mode (insert, normal, or visual):
Alt-j
to move a line downAlt-k
to move a line up