如何在 OS X 终端中逐字移动光标 [英] How to move the cursor word by word in the OS X Terminal
本文介绍了如何在 OS X 终端中逐字移动光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道组合 Ctrl+A 跳转到当前命令的开头,以及 Ctrl+E 跳到最后.
I know the combination Ctrl+A to jump to the beginning of the current command, and Ctrl+E to jump to the end.
但是有没有什么方法可以逐字跳转,比如 Cocoa 应用程序中的 Alt+←/→ 呢?>
But is there any way to jump word by word, like Alt+←/→ in Cocoa applications does?
推荐答案
开箱即用,您可以使用相当奇怪的 Esc+F 移动到开头下一个单词和 Esc+B 移动到当前单词的开头.
Out of the box you can use the quite bizarre Esc+F to move to the beginning of the next word and Esc+B to move to the beginning of the current word.
这篇关于如何在 OS X 终端中逐字移动光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文