Open ghost opened 2 years ago
There is an issue in rustyline the input library that scryer uses for readline functionality: https://github.com/kkawakam/rustyline/issues/303 to add inputrc support. Though I'm not sure what priority it has. I imagine if it got implemented there, then scryer would get that functionality after updating rustyline.
Many thanks for that information. I think I might just have to bite the bullet and learn EMACS given the other considerable benefits of doing so!
@Tachinid: One setting I suggest for ergonomic Emacs key bindings is to configure the CapsLock
key to act as Ctrl
. This can be made system-wide, and makes it easy to use C-p
, C-n
etc. which are frequently used in Emacs and also on the shell.
@triska Many thanks, I will try your suggestion. I always did find using Ctrl awkward but the constant reaching for ESC in vi is a comparable pain that I eventually learned to live with!
Hi,
I was wondering if scryer-prolog supports configuring readline functionality with inputrc on Linux. I have:
set editing-mode vi
in my .inputrc but it makes no difference to the operation of scryer-prolog used interactively. Perhaps there is some other way of configuring readline functionality? I have read the scryer-prolog README but did not see this issue covered.
Now I know I should learn EMACS key bindings, but I have been using vi for more than 30 years and use vi key bindings without problem in swi-prolog. It is hard for an old dog to learn new tricks!
For your information, a "scryer-prolog --version" command on my system outputs "cargo:0.8.127", and the version of Linux is "Linux Mint 19.1 Tessa".
Thanks for any assistance, and for a most interesting product!