Sublime Forum

Un-indent keyboard shortcut doesn't work

#1

I can click ‘Edit --> Unindent’ and the current line will be out-dented.

But if I press the key combination:

SHIFT + TAB

Nothing happens.

This is basic functionality I would expect from any program claiming to be a “programmer’s” text editor.

Cheers,
Jonathan

0 Likes

#2

Here is the reason…Preferences -> Default Key Bindings

<binding key="shift+tab" command="noop"/>
<binding key="shift+tab" command="unindent">
	<context name="newlineInSelection" value="true"/>
</binding>
<binding key="shift+tab" command="prevField">
	<context name="hasPrevField" value="true"/>
</binding>

If you select code, it will unindent as expected.

0 Likes