From 1e664007815bae342059c3f7c13f1f40a1a512e8 Mon Sep 17 00:00:00 2001 From: rearman Date: Thu, 9 May 2024 12:28:25 -0400 Subject: [PATCH] Re-swap isearch and isearch regexp --- init.org | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/init.org b/init.org index 947d2d1..812b9cf 100644 --- 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 -- 2.39.5