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 463
  • Win 239
  • Mac 150
  • Linux 74
Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0
Mac 0 0 0 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
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