【问题标题】:Move whole line up/down shortcut in nano (analogue to intelliJ or Visual Studio)在 nano 中向上/向下移动整行快捷方式(类似于 intelliJ 或 Visual Studio)
【发布时间】:2016-01-17 23:39:44
【问题描述】:

如何在Nano linux command line editor 中向上/向下移动一行文本?

有没有类似IntelliJ Idea 中的方法来做到这一点:

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

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

Shift+Alt+UpShift+Alt+向下.

【问题讨论】:

    标签: linux bash editor nano


    【解决方案1】:

    您可以使用Ctrl+K来剪切一条线,移动到目标位置然后按Ctrl+U 粘贴它。

    【讨论】:

      猜你喜欢
      • 2012-08-06
      • 2019-06-09
      • 2010-12-03
      • 2017-10-27
      • 2010-09-12
      • 2021-12-14
      • 2014-05-18
      • 2016-08-11
      • 2016-12-21
      相关资源
      最近更新 更多