summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-04-13 20:34:10 +0100
committerAlan Pearce2014-04-13 20:34:10 +0100
commit30ba7c1a959052bdf6258fde2c401acd50bd14ac (patch)
tree91b45ca6c7b453e2991e0617cc6375816888df38 /tag-emacs
parent456401f28bb595617eb462e9d1c6d71d28f1f038 (diff)
downloaddotfiles-30ba7c1a959052bdf6258fde2c401acd50bd14ac.tar.lz
dotfiles-30ba7c1a959052bdf6258fde2c401acd50bd14ac.tar.zst
dotfiles-30ba7c1a959052bdf6258fde2c401acd50bd14ac.zip
Emacs: Install visual-regexp.
Move C-c r from org-mode, since I don't really use it.
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el8
2 files changed, 7 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index 0c0865b..425a684 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -55,5 +55,6 @@
 (depends-on "tup-mode")
 (depends-on "undo-tree")
 (depends-on "use-package")
+(depends-on "visual-regexp")
 (depends-on "web-mode")
 (depends-on "yaml-mode")
\ No newline at end of file
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 76505ad..bee5c6c 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -646,8 +646,7 @@ Values: `desktop', `server', `laptop'")
 (use-package org
   :bind (("C-c C-a" . org-agenda-list)
          ("C-c a" . org-agenda)
-         ("C-c l" . org-store-link)
-         ("C-c r" . org-remember))
+         ("C-c l" . org-store-link))
   :config (progn
             (setq org-directory "~/org"
                   org-agenda-files `(,org-directory)
@@ -966,6 +965,11 @@ Also returns nil if pid is nil."
                 ad-do-it)))
   :diminish undo-tree-mode)
 
+(use-package visual-regexp
+  :bind (("C-c r" . vr/replace)
+         ("C-c q" . vr/query-replace)
+         ("C-c m" . vc/mc-mark)))
+
 ;;;; Lisps
 
 (defun ap/lisp-setup ()