在Mac系统中并没有Home、End等键,所以在使用时并不是特别的顺手,但是有几个键位组合可以使Terminal的操作更加灵活方便。

1、将光标移动到行首:ctrl + a

2、将光标移动到行尾:ctrl + e

3、清除屏幕:                ctrl + l

4、搜索以前使用命令:ctrl + r

5、清除当前行:            ctrl + u

6、清除至当前行尾:    ctrl + k

7、单词为单位移动:option + 方向键


GitHub 加速计划 / term / terminal
8
0
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:6 个月前 )
b8ff95d6 - Remove duplicated entries. - Fix whitespace. Co-authored-by: João Guerra <joca-bt@users.noreply.github.com> 15 天前
f28f6587 20 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐