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
.
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
.