Skip to content
move current line or region up or down
Branch: master
Clone or download
Latest commit 7cbc941 Dec 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Dec 22, 2017
move-text.el
move-text.gif

README.md

Melpa Status Melpa Stable Status

MoveText (2.0.8)

MoveText allows you to move the current line using M-up / M-down (or any other bindings you choose) if a region is marked, it will move the region instead.

Using the prefix arg (C-u number or META number) will predetermine how many lines to move.

Install from MELPA (or MELPA stable)

M-x package-install move-text <RETURN>

If you want to use the default bindings, add the following to .emacs anywhere after (package-initialize):

(move-text-default-bindings)

This sets the keyboard shortcuts:

  • Meta-up move-text-up (line or active region)
  • Meta-down move-text-down (line or active region)

Demonstration

You can’t perform that action at this time.