Tuesday, 3 December 2013

Customised Sublime Text



A howto on setting up Sublime Text the way I want it.

SETTING THE COLOURS

"Preferences > Color Scheme > Solarized (Dark)"

SHORTCUT TO ADD SEMICOLON AT THE END OF THE LINE

RECORD MACRO

First step is to record the macro of your need. Check out this page for a description on how to do that.

ADD MACRO AS SHORTCUT

"Preferences > Key Bindings - User":
[
{
    "keys": ["ctrl+shift+;"],
    "command":  "run_macro_file",
    "args": {"file": "Packages/User/endOfLineSemicolon.sublime-macro"}
}
]

OTHER SETTINGS

Check out this brilliant page for great info.

ADD SUBLIME TO CONTEXT MENU

Run the code from this page on GitHub, and check out this page for more info.

"PREFERENCES > SETTINGS - USER":

{
    "auto_complete_delay": 500,
    "color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
    "detect_indentation": false,
    "detect_slow_plugins": false,
    "file_exclude_patterns":
    [
        ".*",
        "*.pyc",
        "*.pyo",
        "*.exe",
        "*.dll",
        "*.obj",
        "*.o",
        "*.a",
        "*.lib",
        "*.so",
        "*.dylib",
        "*.ncb",
        "*.sdf",
        "*.suo",
        "*.pdb",
        "*.idb",
        ".DS_Store",
        "*.class",
        "*.psd",
        "*.db"
    ],
    "font_face": "Source Code Pro",
    "font_size": 10,
    "ignored_packages":
    [
        "Vintage"
    ],
    "tab_completion": false,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "trim_automatic_white_space": true,
    "trim_trailing_white_space_on_save": true,
    "default_line_ending": "unix"
}

No comments:

Post a Comment

Allowed HTML tags:
<b>bold</b>
<strong>strong</strong>
<i>italics</i>
<em>emphasis</em>
<a href="">hyperlink</a>


Please, show the courtesy of identifying yourself when adding a comment. Anonymous comments will, most likely, be removed.