vi bindings for irb on OS X

drbrain | Tue, 11 Aug 2009 20:56:22 GMT

Posted in ,

OS X uses editline(3) instead of readline(3) so ~/.inputrc doesn’t do anything for irb or other tools using readline via the editline wrapper.

Instead, use ~/.editrc:

bind -v
bind \\t rl_complete

Which gives you vi bindings in irb.

Update

Now with tab completion thanks to Curt Sampson from an ancient netbsd-users email!

comment

Comments RSS FEED

Comments are disabled