diff options
author | Alan Pearce | 2014-04-13 20:34:10 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-13 20:34:10 +0100 |
commit | 30ba7c1a959052bdf6258fde2c401acd50bd14ac (patch) | |
tree | 91b45ca6c7b453e2991e0617cc6375816888df38 | |
parent | 456401f28bb595617eb462e9d1c6d71d28f1f038 (diff) | |
download | nixfiles-30ba7c1a959052bdf6258fde2c401acd50bd14ac.tar.lz nixfiles-30ba7c1a959052bdf6258fde2c401acd50bd14ac.tar.zst nixfiles-30ba7c1a959052bdf6258fde2c401acd50bd14ac.zip |
Emacs: Install visual-regexp.
Move C-c r from org-mode, since I don't really use it.
-rw-r--r-- | tag-emacs/emacs.d/Cask | 1 | ||||
-rw-r--r-- | tag-emacs/emacs.d/init.el | 8 |
2 files changed, 7 insertions, 2 deletions
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 () |