在 nano 中移动整行上下快捷键(类似于 intelliJ 或 Visual Studio)

如何在 Nano linux 命令行编辑器中上下移动一行文本?

有没有类似于 智慧的想法的方法:

  1. 将插入符号放在要移动的行上。
  2. 执行下列操作之一:

在主菜单上,选择 Code | Move Line Up or Code | Move Line Down

Shift + Alt + UpShift + Alt + Down

25854 次浏览

You can use Ctrl+K to cut a line, move to destination position and press Ctrl+U to paste it.