如何在 WebStorm 中将光标移动到终端的行首和行尾?

How to move cursor to front of line and end of line in terminal in WebStorm?

如何在 WebStorm 中将光标移动到终端的行首和行尾?

我在 iOS 中使用 iterm2。我可以在 iterm2 上设置发送十六进制代码作为 0x01 作为前端和 0x05 作为结尾,但是我如何在 WebStorm 中执行此操作?

感谢@lena 的点击,我最终在 ~/.bashrc

中创建了绑定
bind '"\e\e[D": beginning-of-line'
bind '"\e\e[C": end-of-line'

并在 webstorm 的终端应用程序中加载 ~/.bashrc Webstorm -> Preference -> Tool -> Terminal -> Application Setting -> Shell Path -> /bin/bash --rcfile ~/.bashrc