summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-02-05 21:43:25 -0500
committerKyle Meyer <kyle@kyleam.com>2016-02-05 21:43:25 -0500
commit1edcaeb9bad6ad4fe93e953a643fd9384cf2b3ac (patch)
treeee23ae3886fdb516d013f79d9344eb97ab3ccd9b
parentab963928006754b3d89b5115f546cceff5cb1e2c (diff)
downloademacs.d-1edcaeb9bad6ad4fe93e953a643fd9384cf2b3ac.tar.gz
Move ESS bindings to :init
-rw-r--r--init.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/init.el b/init.el
index cafbf4b..7902b66 100644
--- a/init.el
+++ b/init.el
@@ -1693,10 +1693,11 @@
(use-package km-ess
:defer t
- :config
- (bind-keys :map ess-mode-map
- ("C-c C-." . km/ess-eval-buffer-up-to-line)
- ("|" . km/ess-insert-dplyr-pipe))
+ :init
+ (after 'ess-mode
+ (bind-keys :map ess-mode-map
+ ("C-c C-." . km/ess-eval-buffer-up-to-line)
+ ("|" . km/ess-insert-dplyr-pipe)))
(after 'ess-inf
(define-key inferior-ess-mode-map "|" #'km/ess-insert-dplyr-pipe)))