Friday 15 May 2015

haskell - How to customize the readline keybindings of ghci -


I know that ghci supports readlines, and key bonding such as ^ w and ^ u are expected to work But I wonder if the GB has supported optimization of keybinding, such as to deal with input RC?

Thanks for any feedback.

What is your GHC version? GHCI stopped using Redline and started using around around 6.10 and 6.12.

libedit can be configured; Similarly, Hasklin for example, I have

 # ~ / .editrc (for debit) edit on the bine ^ rm-ink-search-pre bind ^ sm-ink-search- Advance Bind ^ [[5 ~ ed - Pre-Pre-History Bind ^ [6 ~ Ad-Search-Next-History 

To Match Me

 # ~ / Inputrc (for readline) "\ e [5 ~": History-search-backward "\ e [6 ~": History-search-forward 

No comments:

Post a Comment