Sublime Forum

How to remove tabs (spaces) on highlighted text?

#1

Hallo

I can highlight or select many lines in text editor. When i press TAB button on keyboard it creates tab spaces on each selected line at once.
But how to do the opposite? Remove tabs at once? Veryy often need.

Thank you.

0 Likes

#2

Edit - Line - Unindent (or it’s keyboard shortcut).

And shift + tab works as well.

0 Likes

#3

Thank you.
By the way, is it possible to make auto tab text when i paste it?
For example, i have:

if (...) { if (...) { .. } }
it will be

if (...) { if (...) { .. } }

0 Likes

#4

At least there is Edit - Line - Reindent (you have to select your pasted text first). Don’t know if there’s a plugin, that does what you want…

0 Likes