Skip to content
Emacs: moves current line or lines surrounding region up or down.
Emacs Lisp
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
move-lines.el
move-lines.gif

README.md

Move Lines

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

Demonstration

Installation

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>.

You can’t perform that action at this time.