Skip to content

Instantly share code, notes, and snippets.

@djGrill
Last active January 16, 2025 20:17
Show Gist options
  • Save djGrill/3606099 to your computer and use it in GitHub Desktop.
Save djGrill/3606099 to your computer and use it in GitHub Desktop.
Sublime Text 3 Settings
{
// Sets the colors used within the text area.
// The value "auto" will switch between the "light_color_scheme" and
// "dark_color_scheme" based on the operating system appearance.
"color_scheme": "auto",
"light_color_scheme": "Breakers.sublime-color-scheme",
"dark_color_scheme": "Mariana.sublime-color-scheme",
// Note that the font_face and font_size are overridden in the platform
// specific settings file, for example, "Preferences (Linux).sublime-settings".
// Because of this, setting them here will have no effect: you must set them
// in your User File Preferences.
"font_face": "Droid Sans Mono",
"font_size": 16,
// Spacing between the gutter and the text
"margin": 0,
// Fold buttons are the triangles shown in the gutter to fold regions of text
"fold_buttons": false,
// Hides the fold buttons unless the mouse is over the gutter
"fade_fold_buttons": false,
// The number of spaces a tab is considered equal to
"tab_size": 2,
// Set to true to insert spaces when tab is pressed
"translate_tabs_to_spaces": true,
// If translate_tabs_to_spaces is true, use_tab_stops will make tab and
// backspace insert/delete up to the next tabstop
"use_tab_stops": false,
// Makes auto indent a little smarter, e.g., by indenting the next line
// after an if statement in C. Requires auto_indent to be enabled.
"smart_indent": false,
// Disables horizontal scrolling if enabled.
// May be set to true, false, or "auto", where it will be disabled for
// source code, and otherwise enabled.
"word_wrap": false,
// If enabled, will highlight any line with a caret
"highlight_line": true,
// These settings control the size of the caret
"caret_extra_top": 1,
"caret_extra_bottom": 2,
"caret_extra_width": 2,
// Additional spacing at the top of each line, in pixels
"line_padding_top": 1,
// Additional spacing at the bottom of each line, in pixels
"line_padding_bottom": 2,
// Set to false to disable scrolling past the end of the buffer.
// On Mac, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
//
// This setting may also be set to a number between 0.0 and 1.0 to specify
// how much scrolling past the end of the buffer should be allowed. 0.5
// scrolls halfway and 0.0 is the same as false.
"scroll_past_end": true,
// Set to false to turn off the indentation guides.
// The color and width of the indent guides may be customized by editing
// the corresponding .tmTheme file, and specifying the colors "guide",
// "activeGuide" and "stackGuide"
"draw_indent_guides": false,
// Controls where trailing white space is removed on save.
// - "none": Do not remove any trailing white space on save.
// - "all": Remove all trailing white space on save.
// - "not_on_caret": Only remove white space that won't affect the caret.
// When used in conjunction with "save_on_focus_lost" and
// certain desktop environments that frequently make the
// application lose focus this avoids the caret jumping
// around a lot.
"trim_trailing_white_space_on_save": true,
// Set to true to ensure the last line of the file ends in a newline
// character when saving
"ensure_newline_at_eof_on_save": true,
// Determines what character(s) are used to terminate each line in new files.
// Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
// 'unix' (LF only).
"default_line_ending": "unix",
// When enabled, hovering over a word will show a popup listing all
// possible locations for the definition symbol. Requires index_files.
"show_definitions": false,
// When enabled, pressing tab will insert the best matching completion.
// When disabled, tab will only trigger snippets or insert a tab.
// Shift+tab can be used to insert an explicit tab when tab_completion is
// enabled.
"tab_completion": false,
// Enable auto complete to be triggered automatically when typing.
"auto_complete": false,
// By default, shift+tab will only unindent if the selection spans
// multiple lines. When pressing shift+tab at other times, it'll insert a
// tab character - this allows tabs to be inserted when tab_completion is
// enabled. Set this to true to make shift+tab always unindent, instead of
// inserting tabs.
"shift_tab_unindent": true,
// When drag_text is enabled, clicking on selected text will begin a
// drag-drop operation. This is not currently implemented under Linux.
"drag_text": false,
//
// User Interface Settings
//
// Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to
// scroll slower, or set to larger than 1 to scroll faster
"scroll_speed": 0,
// Controls side bar animation when expanding or collapsing folders
"tree_animation_enabled": false,
// Controls animation throughout the application
"animation_enabled": false,
// Makes tabs with modified files more visible
"highlight_modified_tabs": true,
// Show folders in the side bar in bold
"bold_folder_labels": true,
// Draw divider lines between sections of the UI when using the Adaptive theme
"adaptive_dividers": true,
// Valid values are "system", "enabled" and "disabled"
"overlay_scroll_bars": "enabled",
// Allows tabs to scroll left and right, instead of simply shrinking
"enable_tab_scrolling": false,
// Display file encoding in the status bar
"show_encoding": true,
//
// Application Behavior Settings
//
// Exiting the application with hot_exit enabled will cause it to close
// immediately without prompting. Unsaved modifications and open files will
// be preserved and restored when next starting.
//
// Hot exit has different modes to choose from:
// - "always": Always perform a hot exit when the application exits. This
// includes when the last window is closed on relevant
// platforms.
// - "only_on_quit": Only perform a hot exit when the application is asked
// to exit, not when the last window is closed. This
// setting is only used on Windows and Linux.
// - "disabled": Disable hot exit.
"hot_exit": "always",
// remember_full_screen will allow Sublime Text to start in full screen
// mode if it was exited in full screen mode. When set to false, Sublime
// Text will never start in full screen mode.
"remember_full_screen": true,
// Mac only: This controls if an empty window is created at startup or not.
"create_window_at_startup": false,
// Shows git repository information next to files in sidebar and in
// the status bar. Sublime Text has to be restarted for this to take
// effect.
"show_git_status": false,
// folder_exclude_patterns and file_exclude_patterns control which files
// are listed in folders on the side bar. These can also be set on a per-
// project basis.
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "tmp", "coverage", "public", "node_modules", "build", "Pods", ".terraform/providers", "log", "bundle"],
"file_exclude_patterns": ["*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db", "*.sublime-workspace", "*.log"],
// List any packages to ignore here. When removing entries from this list,
// a restart may be required if the package contains plugins.
"ignored_packages": ["Vintage",
],
// Show the relative path to files in the title bar. This overrides
// show_full_path for files that are listed in the sidebar, however
// show_full_path is still used for other files.
"show_rel_path": true,
"index_files": true,
// Display the toggle sidebar button in the status bar
"show_sidebar_button": false,
// Set to true to close windows as soon as the last file is closed, unless
// there's a folder open within the window.
// On Mac, this value is overridden in the platform specific settings, so
// you'll need to place this line in your user settings to override it.
"close_windows_when_empty": false,
"dark_theme": "Default Dark.sublime-theme",
"light_theme": "Default.sublime-theme",
"theme": "auto",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment