Since both command-line and rails console treat characters with readline, we can add the line below in ~/.inputrc

set editing-mode vi

to switch from the default emacs-mode to vi-mode.

Comments

comments powered by Disqus

Published

Category

Misc

Tags

Contact