about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-24 20:19:57 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-24 20:19:57 +0100
commit487ed282e73b8b0ad5ba395a33d43b3e0a7f8917 (patch)
treea6adeb118f3fcecb5bef3b2416e0b5f2a8b36ba6 /.emacs.d/lisp
parent4c9ca1c1d29309cdfbf3842bce28b467654a87c9 (diff)
downloaddotfiles-487ed282e73b8b0ad5ba395a33d43b3e0a7f8917.tar.gz
Fix bindings
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-search.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/.emacs.d/lisp/init-search.el b/.emacs.d/lisp/init-search.el
index b7d5393..bab0591 100644
--- a/.emacs.d/lisp/init-search.el
+++ b/.emacs.d/lisp/init-search.el
@@ -41,10 +41,10 @@
 
 (use-package rg
   :bind
-  (:map search-map ("s" . rg))
   ("C-c C-M-S-r" . rg-menu)
   ("C-c C-M-r" . rg)
-  ("C-z" . rg-dwim))
+  ("C-z" . rg-dwim)
+  (:map search-map ("s" . rg)))
 
 (use-package deadgrep
   :config
@@ -52,11 +52,11 @@
     (interactive)
     (deadgrep (thing-at-point 'symbol)))
   :bind
+  ("C-S-z" . deadgrep-symbol-at-point)
+  ("C-c c d" . deadgrep)
   (:map search-map
         ("d" . deadgrep)
-        ("D" . deadgrep-symbol-at-point))
-  ("C-S-z" . deadgrep-symbol-at-point)
-  ("C-c c d" . deadgrep))
+        ("D" . deadgrep-symbol-at-point)))
 
 (use-package affe
   :config
@@ -79,15 +79,15 @@
                         (symbol-name s))))
     (affe-find dir initial))
   :bind
+  ("C-#" . affe-grep)
+  ("C-c z" . affe-find)
+  ("C-c Z" . my/affe-find-symbol-at-point)
+  ("C-~" . my/affe-grep-symbol-at-point)
   (:map search-map
         ("#" . affe-grep)
         ("~" . my/affe-grep-symbol-at-point)
         ("a" . affe-find)
-        ("A" . my/affe-find-symbol-at-point))
-  ("C-#" . affe-grep)
-  ("C-c z" . affe-find)
-  ("C-c Z" . my/affe-find-symbol-at-point)
-  ("C-~" . my/affe-grep-symbol-at-point))
+        ("A" . my/affe-find-symbol-at-point)))
 
 (provide 'init-search)
 ;;; init-search.el ends here