gorilla-repl
gorilla-repl copied to clipboard
emacs key-bindings?
My fingers are trained to navigate a line with ctrl+a for the start and ctrl+e for the end. Is it difficult to introduce emacs such cursor positioning emacs key bindings in gorilla repl?
This is supported in CodeMirror, so should be easy to do. In fact, I recall disabling emacs key-bindings at one point because they were interfering with something or other. I'll look into re-enabling them.
that's excellent. thanks for looking into it.
It's an indispensable feature. It's really surprised me when I found gorilla do not support emacs shortcuts in Mac OS X, as far as I know almost any place where you can edit text you can use emacs shortcuts in Mac OS X , it really frustrated me when it failed to work in Gorilla.
:+1:
+1 from here. My fingers' muscles are also trained so thus it is extremely difficult to work with the worksheet without those navigation shortcuts.
In fact, I recall disabling emacs key-bindings at one point because they were interfering with something or other. I'll look into re-enabling them.
Can you recall what the default Mac keybindings were interfering with? I just ripped out the code that overrides all the standard Mac keybindings and Gorilla is working fine in El Capitan's Safari—and I'm not pulling out my hair.
I dont' clearly recall, I'm afraid. I seem to remember there were a few minor collisions ... I think Ctrl+D was a problem.
It would be easy enough to remove the commands from the emacsy
keymap that cause trouble and leave the rest in. Not sure whether that's more or less frustrating though: to have something that doesn't support the commands you want, or nearly supports the commands you want!
+1 for getting Emacs bindings back.