How can I modify (or replace) elpy-shell-send-region-or-buffer
(bound to C-c C-c
) to behave like ess-eval-region-or-function-or-paragraph-and-step
, i.e.
- if region is active, evaluate it (this currently works), goto 4.
- if inside a function, evaluate it, goto 4.
- evaluate current paragraph
- Jump to the beginning of next paragraph
Thank you very much!