Re: [racket-users] vi-mode for racket cli

2019-09-13 Thread Marc Kaufmann
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

Re: [racket-users] vi-mode for racket cli

2019-04-15 Thread Marc Kaufmann
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

Re: [racket-users] vi-mode for racket cli

2019-04-15 Thread Marc Kaufmann
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

Re: [racket-users] vi-mode for racket cli

2019-04-15 Thread Tom Gillespie
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

[racket-users] vi-mode for racket cli

2019-04-15 Thread Marc Kaufmann
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