如何在PhpStorm集成终端中逐字移动光标?

问题描述 投票:0回答:1

我无法使用我的zsh快捷方式在PhpStorm的集成终端窗口中使用ie⌥→像我在Mac上的终端应用程序中使用那样移动插入符号。

我试图在PhpStorm中使用zsh作为shell路径,但是我的默认zsh配色方案在PhpStorm中没有很好地显示。似乎在PhpStorm终端内也没有启用Mac Terminal->Settings快捷方式。

bash terminal phpstorm caret
1个回答
0
投票

我发现只有当我直接在我的~/.bash_profile中绑定快捷方式时才能工作,只需在底部添加:

bind '"[D": backward-word'
bind '"[C": forward-word'

在进行这些更改后关闭PhpStorm内的所有终端窗口并打开新窗口。

© www.soinside.com 2019 - 2024. All rights reserved.