From e79a3b13a39ad9702d7abd3c303c43136a879f95 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 16 Aug 2019 13:02:39 +0100 Subject: [PATCH] Cleanup query replace related keybindings a bit --- modules/navigation/siren-anzu.el | 1 - modules/navigation/siren-highlight-symbol.el | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/navigation/siren-anzu.el b/modules/navigation/siren-anzu.el index ed8c833..eeaa53c 100644 --- a/modules/navigation/siren-anzu.el +++ b/modules/navigation/siren-anzu.el @@ -19,7 +19,6 @@ :foreground "yellow" :weight 'bold) (global-set-key [remap query-replace] 'anzu-query-replace) - (global-set-key (kbd "C-c C-r") 'anzu-query-replace) (global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp) (global-set-key (kbd "C-x C-r") 'anzu-query-replace-regexp) diff --git a/modules/navigation/siren-highlight-symbol.el b/modules/navigation/siren-highlight-symbol.el index 5d468a3..c25e54b 100644 --- a/modules/navigation/siren-highlight-symbol.el +++ b/modules/navigation/siren-highlight-symbol.el @@ -8,9 +8,11 @@ (use-package highlight-symbol :diminish highlight-symbol-mode + :bind ("C-c C-p" . highlight-symbol-prev) ("C-c C-n" . highlight-symbol-next) + ("C-c C-r" . highlight-symbol-query-replace) :hook (prog-mode . highlight-symbol-mode)