summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-10-19 22:14:56 -0400
committerKyle Meyer <kyle@kyleam.com>2017-10-19 22:14:56 -0400
commit522a596043ab8b4e62b07ef784a5fcb1aba41919 (patch)
treef7e3ab6b36f8444e9b82bbc33ac27d0b354d11c5
parent3d8541f1a6e9afde738df4bd172e65b9e07c85da (diff)
downloademacs.d-522a596043ab8b4e62b07ef784a5fcb1aba41919.tar.gz
Bind ess-eval-region-or-function-or-paragraph in r-prefix-map
-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)