summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9da63e0..ce18770 100644
--- a/init.el
+++ b/init.el
@@ -2063,6 +2063,9 @@
(use-package ess-site
:mode ("\\.[rR]\\'" . R-mode)
:config
+ (define-key ess-mode-map (kbd "C-c m") 'km/r-prefix-map)
+ (define-key km/r-prefix-map "," #'ess-eval-region-or-function-or-paragraph)
+
(setq ess-smart-S-assign-key ";")
(ess-toggle-S-assign nil)
(ess-toggle-S-assign nil)