Is there a command available to key mapping for toggling the display of invisibles in the Atom editor. A Show/Hide Invisibles command?
Where would I go to look for such a command?
YES
For Linux and Windows:
1) hit Ctrl+Shift+P and type keymap
2) select Application: open your keymap
and add the following 2 lines to that file:
'body':
'shift-ctrl-i': 'window:toggle-invisibles'
Or any non-conflicting keystroke combination of your liking instead of shift-ctrl-i
.
Note
For further detail, read documentation on CSON fromat (season) and atom-editor's implementaton of cson.
You can open the Command Palette (Cmd + Shift + P) and search for the Window: Toggle Invisibles
command. Selecting that command should toggle invisibles on/off.
Here's what worked for me using the Mac version:
'.editor':
'ctrl-i': 'window:toggle-invisibles'
body:'ctrl-i': 'window:toggle-invisibles'
in keymap.cson
as well (found in Atom > Keymap...)
Aug 11, 2016 at 21:23
For Atom 1.58.0 on Mac, open Settings, Keybindings, and click on the 'your keymap file' link above the search box. Add the following two lines to the bottom of the file and save it:
'atom-text-editor':
'ctrl-i': 'window:toggle-invisibles'
Pressing Ctrl and i will then toggle on and off the invisible characters