小编And*_*den的帖子

在bash中通过参数移动光标的方法?

在 bash 中,您可以使用 Mf 和 Mb 将光标向前和向后移动一个单词,但是有没有办法向前或向后移动一个参数?如果不是开箱即用,也许是通过某种配置?

换句话说,我想光标在下面标记的位置之间导航。

cp "foo bar.txt" "/tmp/directory with space"
^  ^             ^
|  |             |
Run Code Online (Sandbox Code Playgroud)

bash shell readline

5
推荐指数
1
解决办法
880
查看次数

标签 统计

bash ×1

readline ×1

shell ×1