ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Tab​Nuker​Nuker

Fix sublime text's broken spaces indentation

Labels indentation

Details

Installs

  • Total 492
  • Win 256
  • Mac 159
  • Linux 77
Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2
Windows 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

TabNukerNuker

Sublime text is an incredibly popular text editor. The first thing I noticed when I started using it, was that it's a basket full of hacks.

Spaces for indentation is the single most popular indentation method across all languages (With the notable exception of go) and in sublime text it's implemented as one of the dirtiest hacks of all time.

As a result, any attempt to use a real tab will be thwarted.

  • The default “Insert tab” command inserts spaces
  • Using sublime TextCommands to duplicate text with tabs in them will change them into spaces
  • Anything you paste in containing tabs will be changed to spaces
  • Anything you paste in containing tabs will be changed to spaces
  • Sublime text's indentation settings will mangle your pastes
  • This is perfectl͝y̡ n̵orma̶l̵ ̢f̷o҉r a text̶ ̡e̢di͘͡͡t͏̵o̕r ͘͟a̸͟n̸̨d̸̶ s̷͡ho̶ul̨͞d͢ ͝n̡o̸t҉̢͢ ́͘b͎̤̆̓̽ͧȇ̠͙͖̼̻͉̫̦̱ͣ̉͐̅̔͗̉̀͜ ̡̫̝̹̳̲͎̊́͌q̶͓̤͚̻̤̩͎̈̄͊̒̽̕͡ṷ̖̟̦̻̟̜͍͇̓̽ͤ̋̔̐͜ê̓ͪ̆ͭͥ͏̶̫̱̺s̲̱̦̱͉͙̫̐͋ͨͤ̅͐ͩ͜͢t̨̛̰͙͇̲̮̤͒̂i̢̠͐̐͆̿ͫ͟͞o̱̘̻͓̼͍ͤͦ͘n͂͌͟͏̮͎̘̲̜ĕ̹̝̳̪͎͇̱ͦ͊ͧ̂d̨͋͒ͨ̃ͮ̀҉̠̪̤̫͈̱̝͙̞

This is unacceptable for a text editor, and this plugin fixes it without breaking spaces for indentation