Tag Archives: vi

irb with readline on mac using rvm – vi keystrokes

One last whack at this problem. I just got email from a reader of this blog. (Well, technically, a reader of Google, which reads everything, so I shouldn’t feel too impressed with myself.) Anyway, he found my blog post and emailed to tell me the problem with my .inputrc, which was that I needed these two lines:

set editing-mode vi
set keymap vi

I already had the former, but it’s probably been 5 years since I learned how to write a .inputrc file, and I must have missed learning then about the latter. So I added it, and it works like a champ!