judah / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Remap escape key in vi mode #26

Open steve-chavez opened 8 years ago

steve-chavez commented 8 years ago

I'm trying to remap escape to "jk" how can this be accomplished?

bmccutchon commented 7 years ago

You mean remap jk to Esc? Because I want to do the same thing. Did you just close this because it got no attention?

EdmundsEcho commented 6 years ago

Haskeline is a great productivity boost. Is there a way to map our own escape sequence :: vi insert mode -> normal mode?