diff options
author | Amin Bandali <bandali@gnu.org> | 2018-11-22 10:39:11 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-11-22 10:39:11 -0500 |
commit | d409a2cf33eead9b44cf95df4265c3274d8afe92 (patch) | |
tree | 85f83242190ef4d67613e055a5f22ad093a4f466 | |
parent | d3c532507a38afee5932dfe85f0835a8d9edc6e8 (diff) | |
download | configs-d409a2cf33eead9b44cf95df4265c3274d8afe92.tar.gz configs-d409a2cf33eead9b44cf95df4265c3274d8afe92.tar.xz configs-d409a2cf33eead9b44cf95df4265c3274d8afe92.zip |
[emacs] include non-ASCII counterparts in search results
-rw-r--r-- | init.org | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -645,6 +645,19 @@ Enable =winner-mode=. (cons msg code))) #+end_src +*** Search for non-ASCII characters + +I’d like non-ASCII characters such as ‘’“”«»‹›áⓐ𝒶 to be selected when +I search for their ASCII counterpart. Shoutout to [[http://endlessparentheses.com/new-in-emacs-25-1-easily-search-non-ascii-characters.html][endlessparentheses]] +for this. + +#+begin_src emacs-lisp +(setq search-default-mode #'char-fold-to-regexp) + +;; uncomment to extend this behaviour to query-replace +;; (setq replace-char-fold t) +#+end_src + ** Bindings #+begin_src emacs-lisp |