summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2013-12-28 05:25:00 (GMT)
committerRavikiran Rajagopal <aine.marina@gmail.com>2013-12-28 05:25:00 (GMT)
commit639f7d1f66990b42f8edbcd813a62fcdc5350e17 (patch)
treeea90c73fae758721a25a767701b16dad4cacb9cf
parentc6a29bc4b80adb367776f17874a5ce1f86151f5d (diff)
downloaddotemacs-639f7d1f66990b42f8edbcd813a62fcdc5350e17.zip
dotemacs-639f7d1f66990b42f8edbcd813a62fcdc5350e17.tar.gz
dotemacs-639f7d1f66990b42f8edbcd813a62fcdc5350e17.tar.bz2
discover.el has some teething problems
-rw-r--r--ravi-init-appearance.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/ravi-init-appearance.el b/ravi-init-appearance.el
index 108c858..c36e220 100644
--- a/ravi-init-appearance.el
+++ b/ravi-init-appearance.el
@@ -109,9 +109,14 @@
:ensure t
)
-;; Discover as much of emacs as we can
+;; Discover emacs
+;; Since discover.el replaces keymaps wholesale for "C-x r" and "M-s", it overrides
+;; our additions to them. So we use guide-key for "C-x r" and "M-s".
(use-package discover
- :init (global-discover-mode 1)
+ :config
+ (progn
+ (add-hook 'dired-mode-hook 'discover-turn-on-in-dired)
+ )
:ensure t
)
@@ -122,6 +127,8 @@
(setq guide-key/guide-key-sequence '("C-c p" ;; projectile
"C-c d" ;; doxymacs
"C-x 4" ;; other-window
+ "C-x r" ;; rectangles/registers
+ "M-s" ;; isearch
))
(guide-key-mode 1)
)