Question

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?

Was it helpful?

Solution 3

Here's what worked for me using the Mac version:

'.editor':
   'ctrl-i': 'window:toggle-invisibles'

OTHER TIPS

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 '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.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top