]> git.earman.xyz Git - emacsinit.git/commitdiff
Re-swap isearch and isearch regexp
authorrearman <rearman@r717.net>
Thu, 9 May 2024 16:28:25 +0000 (12:28 -0400)
committerrearman <rearman@r717.net>
Thu, 9 May 2024 16:28:25 +0000 (12:28 -0400)
init.org

index 947d2d185bcc11280ef363e505531362ea6f68fe..812b9cf905f0a3f8b1843c02e25b514130000af2 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1476,16 +1476,14 @@ I ripped this defun and binding from [[https://github.com/lem-project/lem][lem]]
 :PROPERTIES:
 :ID:       32daa74b-39b2-4275-bd88-55e9f9d0ffb5
 :END:
-I made these bindings to put my more-used commands on better keys, and swap them with the less-used ones.
+I made these bindings to put my more-used commands on better keys, and swap them with the less-used ones.  Also add bindings for ~isearch-*-regexp~.
 #+BEGIN_SRC emacs-lisp
 (keymap-global-set "M-s ." 'isearch-forward-thing-at-point)
 (keymap-global-set "M-s M-." 'isearch-forward-symbol-at-point)
 (keymap-global-set "M-%" 'replace-regexp)
 (keymap-global-set "C-%" 'replace-string)
-(keymap-global-set "C-s" 'isearch-forward-regexp)
-(keymap-global-set "C-S-S" 'isearch-forward)
-(keymap-global-set "C-r" 'isearch-backward-regexp)
-(keymap-global-set "C-S-R" 'isearch-backward)
+(keymap-global-set "C-S-S" 'isearch-forward-regexp)
+(keymap-global-set "C-S-R" 'isearch-backward-regexp)
 #+END_SRC
 
 *** Elisp/Eval bindings