Problem
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 https://stackoverflow.com/questions/33217564/move-whole-line-up-down-shortcut-in-nano-analogue-to-intellij-or-visual-studio