Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Doesn't respect Vim mode #155

Open
AndrewRayCode opened this issue Jun 20, 2017 · 2 comments
Open

Doesn't respect Vim mode #155

AndrewRayCode opened this issue Jun 20, 2017 · 2 comments

Comments

@AndrewRayCode
Copy link

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

@process-bot
Copy link

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.

@ehamberg
Copy link

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

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants