标签: haskell readline ghci haskeline
我使用Ctrl p而不是向上箭头在终端上。如何让ghci支持Ctrl p上去?
我使用ghc98中的ghci来自端口。 Mac OS X 10.5.8。
答案 0 :(得分:8)
Customize haskeline,例如,
$ cat ~/.haskeline bind: ctrl-p up
要启用所有emacs绑定,您可以将其指定为user preference:
$ cat ~/.haskeline editMode: Emacs