Skip to content
Emacs: moves current line or lines surrounding region up or down
Emacs Lisp
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
move-lines.el

README.md

move-lines

Emacs package that moves current line or lines surrounding region up or down.

Configuration

Copy the provided version of move-lines.el in a directory which is in the Emacs load-path. Then, execute the following code either directly or in your .emacs file:

(require 'move-lines)
(move-lines-binding)

After that, you can move the line(s) up by M-p or M-<up> or down by M-n or M-<down>.

Something went wrong with that request. Please try again.