elm-repl icon indicating copy to clipboard operation
elm-repl copied to clipboard

Doesn't respect Vim mode

Open AndrewRayCode opened this issue 8 years ago • 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

AndrewRayCode avatar Jun 20 '17 04:06 AndrewRayCode

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.

process-bot avatar Jun 20 '17 04:06 process-bot

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

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

ehamberg avatar Oct 20 '17 12:10 ehamberg