From 30ba7c1a959052bdf6258fde2c401acd50bd14ac Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Apr 2014 20:34:10 +0100 Subject: Emacs: Install visual-regexp. Move C-c r from org-mode, since I don't really use it. --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.el | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index 0c0865be..425a6843 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 76505ad5..bee5c6ce 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 () -- cgit 1.4.1