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?
您可以使用rlwrap
,但它需要付出代价 - 您将放弃本机节点TAB
完成(您可以在此处找到详细信息: rlwrap可以使用包装命令自己的TAB完成吗? ):
rlwrap -a -- node
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.