Skip to content

Instantly share code, notes, and snippets.

@YuerLee
Last active August 29, 2015 14:10
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 YuerLee/8f70204e232204bdc7d3 to your computer and use it in GitHub Desktop.
Save YuerLee/8f70204e232204bdc7d3 to your computer and use it in GitHub Desktop.
My Sublime Text 2 Settings
{
/* 側欄 */
// folder
"bold_folder_labels": true,
/* 編輯區 */
// 基本設定
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
"theme": "Soda Dark.sublime-theme",
"font_face": "Source Code Pro Light",
"font_size": 18,
"highlight_line": true,
// sexy caret
"caret_style": "phase",
"wide_caret": true,
// 設定行高
"line_padding_bottom": 2,
"line_padding_top": 2,
// 顯示程式碼折疊按鈕
"fold_buttons": true,
// 讓程式碼折疊按鈕不要淡出
"fade_fold_buttons": false,
// tab 與 space
"translate_tabs_to_spaces": true,
"tab_size": 4,
"draw_white_space": "all",
// 不要自動換行
"word_wrap": false,
// 存擋時去除多餘的空白
"trim_trailing_white_space_on_save": true,
// 存擋時確保每個檔案結尾會有一行空行
"ensure_newline_at_eof_on_save": true,
/* 其他 */
// packages
"ignored_packages":
[
"Vintage" // 關閉 Vi 模式
],
// 頁籤
"highlight_modified_tabs": true,
"show_tab_close_buttons": false,
// build 時不要出現 panel
"show_panel_on_build": false,
// encoding
"default_encoding": "UTF-8",
"fallback_encoding": "UTF-8"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment