TH's Notes
  • Home
  • Categories
  • Tags
  • Archives

Vi-mode in command-line and Rails Console

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

  • « Custom domain for your app on Heroku
  • Is your site accessible from China? »

Published

Feb 19, 2015

Category

Misc

Tags

  • emacs 3
  • rails 63
  • vim 3
  • Powered by Pelican. Theme: Elegant by Talha Mansoor