Command to move line up or down in Atom Editor

peter-b picture peter-b · Jun 26, 2015 · Viewed 25.7k times · Source

I have used Sublime for years and am trying out Atom for the first time.

How can I move a single line or selected block up or down by one line? In sublime I could do this with ctrl+shift+Up, but that doesn't seem to work in Atom. Any ideas?

Answer

alysonsm picture alysonsm · Jun 26, 2015

In Atom you can just use Ctrl + Up.

You can find these options on Atom menu : Edit > Lines > Move Line Up