Sublime Forum

Any way to always indent using tabs?

#1

Hi

I’m trying to set up the editor so that indentation always uses tabs.

When have a line indented, and then I press enter at the end, I get 1 tab (equal to the width of 4 characters), and then I get 4 spaces. An subsequent tabs on that line use spaces.

I’ve looked through the options available, but not sure if there is anything that’ll help.

Thanks.

Indy

0 Likes

#2

If the View/Indentation/Indent Using Spaces menu item is unchecked, then tab will always insert a tab character.

If the indentation settings aren’t doing what you want, then you may want to turn off the detect_indentation setting: sublimetext.com/docs/2/indentation.html

0 Likes

#3

Thanks. That seems to work.

0 Likes