Adding vi keybindings to irb, script/console, and mysql October 19, 2008Posted by John Dewey in Rails, Ruby.
I loves me my vi, and sun keyboard mappings (although it drives people crazy when they peer on my macbook).
Add the following on OS X 10.5:
john@emopop:~> cat .editrc bind -v
This will work for OS X 10.4 and other operating systems:
john@emopop:~> cat .inputrc set editing-mode vi