[Haskell-cafe] Vi mode in ghci?

Evan Laforge qdunkan at gmail.com
Fri Jun 10 22:41:51 CEST 2011


On Fri, Jun 10, 2011 at 1:25 PM, David McBride <dmcbride at neondsl.com> wrote:
> Somehow in the distant past I managed to get vi editing mode working
> for ghci on ghc 6, but when I upgraded to ghc 7, I can't seem to
> figure out how to enable it anymore.  I think I might have been using
> ghci-haskeline in the past.  A post I read somewhere suggested that
> ghc 7 should have innate support for vi mode, but I can't figure out
> if it does, or how to enable it.  Does anyone know?

~/.haskeline:

editMode: Vi

I recommend 'historyDuplicates: IgnoreConsecutive' for a nice zsh-like history.



More information about the Haskell-Cafe mailing list