3 ms·
I wouldn't know about the Vim equivalent, but I wrote this in my Emacs config long ago: (defun find-non-ascii () "Find and show all of the non-ascii
by a_e_k 3y ago
I wouldn't know about the Vim equivalent, but I wrote this in my Emacs config long ago:
(defun find-non-ascii ()
"Find and show all of the non-ascii characters."
(interactive)
(occur "[[:nonascii:]]"))
It has proved quite useful on occasion.
(Yes, I could just invoke Occur directly, but I can never quite remember the regexp character class and syntax here.)
- chjj 3y agoNo worries. I managed to whip something up: autocmd BufWinEnter * match ErrorMsg /[\xa0\u1680\u2000-\u200a\u202f\u205f\u3000]/