如何在OS X终端中逐字移动光标 [英] How to move the cursor word by word in the OS X Terminal

查看:54
本文介绍了如何在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆