]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
bound regexp version to isearch keys.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 5 Nov 2014 09:43:35 +0000 (10:43 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 5 Nov 2014 09:43:35 +0000 (10:43 +0100)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index ca92710c9712e45c7ec8c47ff0ed53e52a1be9a7..ff050fdcd9fd1b38c561e1b346f13740dff1a70b 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1197,6 +1197,16 @@ function to convert groups of spaces to hard tabs.
 
 #+END_SRC
 
+=isearch-forward-regexp= is much more useful than =isearch-forward= so
+we use that as default:
+
+#+BEGIN_SRC emacs-lisp
+  (global-set-key (kbd "C-s") 'isearch-forward-regexp)
+  (global-set-key (kbd "C-r") 'isearch-backward-regexp)
+  (global-set-key (kbd "C-M-s") 'isearch-forward)
+  (global-set-key (kbd "C-M-r") 'isearch-backward)
+#+END_SRC
+
 *** configure some default values
     [2014-10-02 Thu 00:27]