A Sublime Text plugin to help identify invisible and ambiguous Unicode whitespace characters (zero width spaces, no-break spaces, and similar.) I call these characters gremlins, and Sublime Gremlins highlights them in the following ways:
This plugin also adds commands to identify and select (for removal/replacement) any gremlins in the current document.
Sublime Gremlins is available on Package Control:
If you prefer, install via git:
git clone https://github.com/redoPop/SublimeGremlins.git \
"~/Library/Application Support/Sublime Text 3/Packages/Gremlins"
Sublime Gremlins adds the following to your command palette:
Sublime Gremlins adds a couple of items to the bottom of Sublime's Find menu:
Sublime Gremlins doesn't add any key bindings by default, but it does provide some example key bindings so you can add your own if you want.
Select Preferences ▸ Package Settings ▸ Gremlins ▸ Key Bindings from the menu. This will open a two-pane view with Gremlins' example key bindings on the left and your personal key bindings file on the right. Copy over any key bindings you want to use.