elm-lang/elm-repl

Doesn't respect Vim mode

Opened this issue · 2 comments

I have this in my ~/.inputrc:

set editing-mode vi

This gives me Vim mode in bash, MySQL, IRB, and most command line utilities. However it does not seem to have any effect on elm-repl. Would this be easy to implement? It seems like it's provided by the GNU Readline Library

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@AndrewRayCode I believe elm-repl is using haskeline instead of readline and that the following should work:

$ echo "editMode: Vi" > ~/.haskeline