Skip to content

Instantly share code, notes, and snippets.

@yzhong52
Last active August 19, 2017 03:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yzhong52/df847d20e281535fa86157205c71da19 to your computer and use it in GitHub Desktop.
Save yzhong52/df847d20e281535fa86157205c71da19 to your computer and use it in GitHub Desktop.
Sublime Text Settings: Auto Intent, Tap to Spaces, Rulers

Preferences > Key Bindings:

[
    { "keys": ["alt+command+l"], "command": "reindent" , "args": {"single_line": false}}
]

Preferences > Settings:

{
    "detect_indentation": false,
    "draw_white_space": "all",
    "ignored_packages":
    [
        "Vintage"
    ],
    "indent_to_bracket": true,
    "rulers":
    [
        80,
        100,
        120
    ],
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "ensure_newline_at_eof_on_save": true
}

Ref: https://stackoverflow.com/a/21460356/1035008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment