Settings in Sublime Text 2 get Clobbered on Updates

by 1/05/2012 04:03:00 PM 0 comments
I've been playing around with different text editors lately. Although TextMate 2 Alpha is finally out and is pretty nice, I've been playing around with Sublime Text 2. I've kept my eye on it for a while now and it just wasn't quite there yet. However, in the last few weeks it's reached a state where it's gotten very usable. However, when it self-updates some of my settings get lost. So I thought, I'd write them down for future reference:

Base File.sublime-settings

 "color_scheme": "Packages/Theme - Hohonuuli/Hohonuuli.tmTheme",
 "caret_style": "phase",
 "find_selected_text": true,
 "font_face": "Ubuntu Mono",
 "font_size": 14.0,
 "indent_guide_options": ["draw_normal", "draw_active"],
 "translate_tabs_to_spaces": false,
 "wide_caret": true, /* hidden option */
 "word_wrap": false

Default (OSX).sublime-keymap

 { "keys": ["ctrl+w"], "command": "expand_selection", "args": {"to": "word"} },
 { "keys": ["ctrl+l"], "command": "expand_selection", "args": {"to": "line"} },
 { "keys": ["ctrl+b"], "command": "expand_selection", "args": {"to": "scope"} },
 { "keys": ["super+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
 { "keys": ["super+shift+o"], "command": "prompt_add_folder"}


 "highlight_modified_tabs": true,
 "hot_exit": false,
 "remember_open_files": true,
 "theme": "Soda Dark.sublime-theme",
 "word_wrap": false

Word Highlight.sublime-settings

 "color_scope_name" : "wordhighlight",
 "draw_outlined": true,
 "selection_delay": 0.04,
 "highlight_when_selection_is_empty": true,
 "highlight_word_under_cursor_when_selection_is_empty": false,
 "file_size_limit": 4194304


 //Enable bracket matching on type
 "quote_enable" : true,
 "curly_enable" : true,
 "round_enable" : true,
 "square_enable": true,
 "angle_enable" : true,
 //Higlight tags if tag is selected. angle_enable must be true for tags to work
 //if you would like to ignore non tags then set ignore_non_tags to true
 "tag_enable"   : true,

 //don't show non tag angle matches
 "ignore_non_tags" : false,

 //match brackets only when the cursor is adjacent to one
 "match_adjacent_only" : false,

 //exclude or include bracket by language type (example: C++ for C++.tmLanguage)
 //Note: this is particularly useful with Angle. Some languages do not attribute any special scope to angle brackets making it hard
 //to tell when the bracket is beign used in a valid scenario.  C++ is a perfect example.  It is better to disable completely than
 //to ignore angle.  Ignoring will not show angle matches, but will also interfere with other bracket matches.
 "angle_language_list" : ["HTML","HTML 5","XML","PHP"],
 "tag_language_list"   : ["HTML","HTML 5","XML","PHP"],
 "quote_language_list" : ["Plain text"],
 "curly_language_list" : ["Plain text"],
 "round_language_list" : ["Plain text"],
 "square_language_list": ["Plain text"],

 //filter type (whitelist|blacklist)
 "angle_language_filter" : "whitelist",
 "tag_language_filter"   : "whitelist",
 "quote_language_filter" : "blacklist",
 "curly_language_filter" : "blacklist",
 "round_language_filter" : "blacklist",
 "square_language_filter": "blacklist",

 //Scope? (Defined in theme files.) ->
 //Examples: (keyword/string/number)
 "quote_scope" : "",
 "curly_scope" : "curlybrackets",
 "round_scope" : "curlybrackets",
 "square_scope": "curlybrackets",
 "angle_scope" : "curlybrackets",
 "tag_scope"   : "",

 //Outline? (solid/outline/underline/none) ->
 "quote_style" : "solid",
 "curly_style" : "solid",
 "round_style" : "solid",
 "square_style": "solid",
 "angle_style" : "solid",
 "tag_style"   : "solid",

 //Icon? (dot/circle/bookmark/cross)
 "quote_icon" : "dot",
 "curly_icon" : "dot",
 "round_icon" : "dot",
 "square_icon": "dot",
 "angle_icon" : "dot",
 "tag_icon"   : "dot",

 //Higlight brackets of tag only instead of entire tag
 "tag_brackets_only" : false,

 //Type of tag selection? (html/xhtml)
 "tag_type" : "html",

 //threshold distance to search
 "search_threshold"     : 2000,
 "tag_search_threshold" : 2000,
 "use_search_threshold"     : true,
 "tag_use_search_threshold" : true,

 //Debounce delay in miliseconds
 "debounce_delay" : 100


Brian Schlining


Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.