Atom Editor Auto Indent Keyboard Shortcut

2.9k views Asked by At

I followed along with the discussion in this question: Auto indent code in Atom editor but couldn't get mine to work. :(

I have this in my keymap.cson file:

'.editor': 'ctrl-i': 'window:toggle-invisibles' 'ctrl-t': 'editor:toggle-indent-guide' 'ctrl-v': 'tree-view:toggle' 'ctrl-l': 'go-to-line:toggle' 'cmd-shift-[': 'editor:auto-indent'

The other keyboard command work, but 'cmd-shift-[': 'editor:auto-indent' does not. Each of the indented options has exactly 2 spaces in front of them. '.editor' has none.

What did I get wrong?

0

There are 0 answers