[Haskell-cafe] Vi mode in ghci?

David McBride dmcbride at neondsl.com
Fri Jun 10 22:46:17 CEST 2011


I do remember reading this page way back when.  Thank you very much!

On Fri, Jun 10, 2011 at 4:41 PM, Evan Laforge <qdunkan at gmail.com> wrote:
> 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