3

How to set lineeditor to vi-mode in JShell?

The setting set editing-mode vi is in both $HOME/.inputrc and $HOME/.jline.rc, but it seems like Jshell does not respect any of them.

romainl
  • 186,200
  • 21
  • 280
  • 313
FooBee
  • 778
  • 7
  • 23
  • @romainl As I mentioned above, it seems like Jshell doesn't respect `.jline.rc`. I know Jshell uses JLine2, but I didn't find why in that [issue tracker](https://github.com/jline/jline2/issues) – FooBee Dec 11 '21 at 11:54
  • Hint: that issue tracker is *not* read-only. – romainl Dec 11 '21 at 11:58

0 Answers0