'Move whole line up/down shortcut in nano (analogue to intelliJ or Visual Studio)
How to move a line of text up/down in Nano linux command line editor?
Is there any analogue way to do that as in IntelliJ Idea:
- Place the caret at the line to be moved.
- Do one of the following:
On the main menu, choose Code | Move Line Up or Code | Move Line Down
.
Press Shift+Alt+Up or Shift+Alt+Down.
Solution 1:[1]
You can use Ctrl+K to cut a line, move to destination position and press Ctrl+U to paste it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Alvaro Gutierrez Perez |