Since I had to look up this thread again, I wanted to mention that there is
a way to avoid downloading readline-gpl. By default, the repl uses
editline, which also has a way of switching on vi (or emacs) modes. Just
edit/create the ~/.editrc file:
bind -v
bind "jj" vi-command-mode
and you have
Fantastic, that was faster and easier than I thought! So nice to not
constantly mess up all my commands any more... A good start to a new week.
:-)
Cheers,
Marc
On Mon, Apr 15, 2019 at 10:51 AM Marc Kaufmann
wrote:
> Ha, thanks. I should have searched the docs for readline, not for vi-mode
> an
Ha, thanks. I should have searched the docs for readline, not for vi-mode
and vi mode. I'll let you know how it goes.
Marc
On Mon, Apr 15, 2019 at 10:30 AM Tom Gillespie wrote:
> I'm not sure if this will fix your vi-mode issues, but here is some info
> on the readline situation. You should be
I'm not sure if this will fix your vi-mode issues, but here is some info on
the readline situation. You should be able to get readline support by
installing readline-gpl via `raco pkg install readline-gpl` (as the name
suggests it was removed from core racket due to gpl compatibility
concerns). So
Hi all,
I use vi-mode in the cli and in all the repls that use readline. Racket's
repl does not use readline for reading. Is there a way to get vi-mode going
anyway, either by wrapping readline around first or something else? And if
it's possible, would this require switching off something else
5 matches
Mail list logo