配置终端逐字移动

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了配置终端逐字移动相关的知识,希望对你有一定的参考价值。

To config Terminal do move (left and right) word-by-word:
- Esc + b (left)
- Esc + f (right)

To configure it to Alt + left and right:
- Open Terminal preferences (command + ,);
- At Keyboard tab, select "control cursor left (or right)" and doubleckick it;
- Left: Select the combo "modifier" to "option" and the action to 33b
- Right: Select the combo "modifier" to "option" and the action to 33f

Enjoy
  1. To config Terminal do move (left and right) word-by-word:
  2. - Esc + b (left)
  3. - Esc + f (right)
  4.  
  5. To configure it to Alt + left and right:
  6. - Open Terminal preferences (command + ,);
  7. - At Keyboard tab, select "control cursor left (or right)" and doubleckick it;
  8. - Left: Select the combo "modifier" to "option" and the action to 33b
  9. - Right: Select the combo "modifier" to "option" and the action to 33f
  10.  
  11. Enjoy

以上是关于配置终端逐字移动的主要内容,如果未能解决你的问题,请参考以下文章

Mac OS X 终端中的 Vim:逐字移动光标

如何将这个 Objective-C 代码片段写入 Swift?

VSCode自定义代码片段——cli的终端命令大全

VSCode自定义代码片段4——cli的终端命令大全

apache与nginx在移动终端访问是的rewrite配置

linux打开终端如何启动scala,如何在终端下运行Scala代码片段?