I'm new to emacs, and I'm trying to set it up as my editor for both python and R. Elpy and Ess are both great, and I'm relying on them a lot. However, I'm used to the Ess key-bindings, and would like the same key-bindings for the similar Elpy commands. For instance, elpy has elpy-shell-send-statement-and-step
bound to C-c C-y C-e
, and ess has ess-eval-region-or-line-and-step
bound to C-<RET>
(both of these essentially do the same thing).
What is the best way to modify a few of my Elpy key-bindings to match the matching Ess key-bindings in my init.el?
Thanks in advance!
ess-mode-map
(foress-mode) and
elpy-mode-map` (forelpy-mode
).