{"id":669,"date":"2010-11-20T21:53:39","date_gmt":"2010-11-21T05:53:39","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=669"},"modified":"2010-11-23T15:20:33","modified_gmt":"2010-11-23T23:20:33","slug":"irb-with-readline-on-mac-using-rvm-vi-keystrokes","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2010\/11\/20\/irb-with-readline-on-mac-using-rvm-vi-keystrokes\/","title":{"rendered":"irb with readline on mac using rvm &#8211; vi keystrokes"},"content":{"rendered":"<p>One last whack at <a href=\"https:\/\/accretiondisc.com\/blog\/2010\/11\/16\/irb-with-readline\/\">this problem<\/a>. I just got email from a reader of this blog. (Well, technically, a reader of <a href=\"http:\/\/www.google.com\/search?client=safari&#038;rls=en&#038;q=irb+readline+vi&#038;ie=UTF-8&#038;oe=UTF-8\">Google<\/a>, which reads everything, so I shouldn&#8217;t feel too impressed with myself.) Anyway, he found my <a href=\"https:\/\/accretiondisc.com\/blog\/2010\/11\/15\/irb-with-readline-on-mac-using-rvm\/\">blog post<\/a> and emailed to tell me the problem with my <tt>.inputrc<\/tt>, which was that I needed these two lines:<\/p>\n<blockquote>\n<pre>set editing-mode vi\r\nset keymap vi<\/pre>\n<\/blockquote>\n<p>I already had the former, but it&#8217;s probably been 5 years since I learned how to write a <a href=\"http:\/\/tiswww.case.edu\/php\/chet\/readline\/readline.html#SEC9\">.inputrc file<\/a>, and I must have missed learning then about the latter. So I added it, and it works like a champ!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52],"tags":[207,96,206,211,223],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-technology","tag-irb","tag-mac-2","tag-readline","tag-vi","tag-vim"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-aN","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}