rb-readline
rb-readline copied to clipboard
VI in Rails Console
Hello,
I have a feeling I'm asking this in the wrong place, but I can't seem to find a better place to ask.
In IRB, (I think it's using system readline) I can use vi commands to navigate the shell. But under rails console
(rails 5) I can't seem to get that to work no matter what I try. Things I tried:
- created .inputrc with "set editing-mode vi"
- created .editrc with "bind -v"
- recompiled ruby with system readline
Is this from an rb-readline limitation?
I'm on a OSX Sierra with Rails 5.02
Thanks in advance.
Vi mode is unimplemented in rb-readline just now, I'm afraid.
See 79c5a3bdc1329630997db004e37c4b48382b9964 and 9083221abdc6588c0a370fd9532cae248ff89ba1.
Implementing this would make me 500% more productive. Pleeeeeeaaase implement this!