Coder Perfect

In nano, move the entire line up or down (analogue to intelliJ or Visual Studio)


In the Nano linux command line editor, how can I move a line of text up or down?

Is there a way to accomplish it like this in IntelliJ Idea:

Choose either Code | Move Line Up or Code | Move Line Down from the main menu.

Press Shift+Alt+Up or Shift+Alt+Down on your keyboard.

Asked by Blaise

Solution #1

Ctrl+K can be used to clip a line, then move it to the desired location and paste it with Ctrl+U.

Answered by Alvaro Gutierrez Perez

Post is based on