-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vi style editing in JLine3 #821
Comments
Note that Unfortunately, the jshell tool does not seem to allow any external configuration, looking at https://github.com/openjdk/jdk/blob/master/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java. |
As per jshell docs at
Shell editing in JShell is built on JLine, which is functionally similar to BSD editline and GNU readline in Emacs mode. If GNU readline in Emacs mode can be supported by JLine notwithstanding the limitation of
it is not clear why GNU readline in vi mode also be supported in similar fashion. Can JLine enable GNU readline in vi mode when $HOME/.inputrc is present? |
As per
#230
inputrc support has been removed from JLine3.
The jshell command that is part of JDK uses JLine3 for line editing.
Is it possible to enable vi style line editing on the jshell command
through a configuration file used by JLine3?
The text was updated successfully, but these errors were encountered: