Install elpa-move-text by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-move-text
Description:
move current line or region up and down
The package allows one to move the current line up and down. If a region is marked, it will move the region instead. Using the prefix one can predefine how many lines move-text will travel.
Homepage: https://github.com/emacsfodder/move-text
Version: 2.0.8-1
Section: universe/lisp