Cycle indentation with repeated TAB key presses?


#1

How can I configure Atom to cycle indentation for the current line / currently selected region, when I repeatedly press the TAB key? This is how indentation often works in other text editors, and I’d like to match this behavior if possible.


#2

You’d have to write code to determine the indentation levels for the cursors/selections and cycle through them. Once you have a package with the code to do so, mapping it to the Tab key should be relatively easy.