问题:
I know the combination Ctrl + A to jump to the beginning of the current command, and Ctrl + E to jump to the end. 我知道组合Ctrl + A跳转到当前命令的开头,而Ctrl + E跳转到结尾。
But is there any way to jump word by word, like Alt + ← / → in Cocoa applications does? 但有没有办法逐字逐句跳转,比如Alt + ← / →在Cocoa应用程序中呢?
解决方案:
参考一: https://stackoom.com/question/L8q/OS-X终端中是否有任何方法可以逐字移动光标参考二: https://oldbug.net/q/L8q/Is-there-any-way-in-the-OS-X-Terminal-to-move-the-cursor-word-by-word
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4333272