Forked from leoallen85/Preferences.sublime-settings
Last active
December 14, 2015 19:19
-
-
Save maker-leo/5135649 to your computer and use it in GitHub Desktop.
Suggested settings for your Preferences.sublime-settings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// This is the ruby default | |
"tab_size": 2, | |
// Set to true to insert spaces when tab is pressed | |
"translate_tabs_to_spaces": true, | |
// This shows all your whitespace, including spaces and tabs | |
// helps keep code clean and properly indented! | |
"draw_white_space": "all", | |
// Ignore .git folder | |
"folder_exclude_patterns": | |
[ | |
".git" | |
], | |
// This is really useful, no more hitting ⌘ + s | |
// your tab gets automatically saved as soon as you switch to another | |
"save_on_focus_lost": true, | |
// This cleans up your file whenever its saved | |
"trim_trailing_white_space_on_save": true, | |
// Makes it clear your lines are too long! | |
"word_wrap": true | |
} |
In Sublime Text 3 it is slightly different.
I tried to edit Preferences.sublime-settings in Preferences --> Settings - Default, but in Sublime Text 3 you are not allowed to do it any more.
You have to paste these suggested settings in Preferences --> Settings - User instead.
Every settings you write in Settings - User will override those in Settings - Default.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can edit this in Sublime Text by pressing
⌘ + ,