gpt4 book ai didi

haskell - 如何让ghci支持^p上去?

转载 作者:行者123 更新时间:2023-12-02 06:34:12 26 4
gpt4 key购买 nike

我经常使用 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 ~/.haskelineeditMode: Emacs

关于haskell - 如何让ghci支持^p上去?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2817639/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com