我经常使用 Ctrl p 而不是向上箭头在终端上向上移动。如何让ghci支持Ctrl p向上?
我使用来自 ghc98 端口的 ghci。 Mac OS X 10.5.8。
最佳答案
Customize haskeline,例如,
$ cat ~/.haskeline bind: ctrl-p up
要启用所有 emacs 绑定(bind),您可以将其指定为 user preference :
$ cat ~/.haskeline editMode: Emacs
关于haskell - 如何让ghci支持^p上去?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2817639/