3

This is a minor inconvenience, but since nobody seems to have asked it, here it is:

With Python, I can place set editing-mode vi in ~/.inputrc and then the Python and iPython interactive shells will use vi mode. Is it possible to do something similar with Node.js?

Sahand
  • 2,095
  • 1
  • 19
  • 24

1 Answers1

1

You can use rlwrap, but it comes at a price - you will loose native node TAB completion (you can find details here: Can rlwrap use a wrapped command's own TAB completion?):

rlwrap -a -- node
Community
  • 1
  • 1
paluh
  • 2,171
  • 20
  • 14