Advertisement
RootOfTheNull

RootOfTheNull Sublime Text 2 Config

Jan 16th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 13.16 KB | None | 0 0
  1. // While you can edit this file, it's best to put your changes in
  2. // "User/Preferences.sublime-settings", which overrides the settings in here.
  3. //
  4. // Settings may also be placed in file type specific options files, for
  5. // example, in Packages/Python/Python.sublime-settings for python files.
  6. {
  7.     // Sets the colors used within the text area
  8.     "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
  9.  
  10.     // Note that the font_face and font_size are overriden in the platform
  11.     // specific settings file, for example, "Preferences (Linux).sublime-settings".
  12.     // Because of this, setting them here will have no effect: you must set them
  13.     // in your User File Preferences.
  14.     "font_face": "",
  15.     "font_size": 10,
  16.  
  17.     // Valid options are "no_bold", "no_italic", "no_antialias", "gray_antialias",
  18.     // "subpixel_antialias", "no_round" (OS X only) and "directwrite" (Windows only)
  19.     "font_options": [],
  20.  
  21.     // Characters that are considered to separate words
  22.     "word_separators": "./\\()\"'-:,.;_<>~!@#$%^&*|+=[]{}`~?",
  23.  
  24.     // Set to false to prevent line numbers being drawn in the gutter
  25.     "line_numbers": true,
  26.  
  27.     // Set to false to hide the gutter altogether
  28.     "gutter": true,
  29.  
  30.     // Spacing between the gutter and the text
  31.     "margin": 4,
  32.  
  33.     // Fold buttons are the triangles shown in the gutter to fold regions of text
  34.     "fold_buttons": true,
  35.  
  36.     // Hides the fold buttons unless the mouse is over the gutter
  37.     "fade_fold_buttons": true,
  38.  
  39.     // Columns in which to display vertical rulers
  40.     "rulers": [],
  41.  
  42.     // Set to true to turn spell checking on by default
  43.     "spell_check": false,
  44.  
  45.     // The number of spaces a tab is considered equal to
  46.     "tab_size": 4,
  47.  
  48.     // Set to true to insert spaces when tab is pressed
  49.     "translate_tabs_to_spaces": false,
  50.  
  51.     // If translate_tabs_to_spaces is true, use_tab_stops will make tab and
  52.     // backspace insert/delete up to the next tabstop
  53.     "use_tab_stops": true,
  54.  
  55.     // Set to false to disable detection of tabs vs. spaces on load
  56.     "detect_indentation": true,
  57.  
  58.     // Calculates indentation automatically when pressing enter
  59.     "auto_indent": true,
  60.  
  61.     // Makes auto indent a little smarter, e.g., by indenting the next line
  62.     // after an if statement in C. Requires auto_indent to be enabled.
  63.     "smart_indent": true,
  64.  
  65.     // Adds whitespace up to the first open bracket when indenting. Requires
  66.     // auto_indent to be enabled.
  67.     "indent_to_bracket": false,
  68.  
  69.     // Trims white space added by auto_indent when moving the caret off the
  70.     // line.
  71.     "trim_automatic_white_space": true,
  72.  
  73.     // Disables horizontal scrolling if enabled.
  74.     // May be set to true, false, or "auto", where it will be disabled for
  75.     // source code, and otherwise enabled.
  76.     "word_wrap": "auto",
  77.  
  78.     // Set to a value other than 0 to force wrapping at that column rather than the
  79.     // window width
  80.     "wrap_width": 0,
  81.  
  82.     // Set to false to prevent word wrapped lines from being indented to the same
  83.     // level
  84.     "indent_subsequent_lines": true,
  85.  
  86.     // Draws text centered in the window rather than left aligned
  87.     "draw_centered": false,
  88.  
  89.     // Controls auto pairing of quotes, brackets etc
  90.     "auto_match_enabled": false,
  91.  
  92.     // Word list to use for spell checking
  93.     "dictionary": "Packages/Language - English/en_US.dic",
  94.  
  95.     // Set to true to draw a border around the visible rectangle on the minimap.
  96.     // The color of the border will be determined by the "minimapBorder" key in
  97.     // the color scheme
  98.     "draw_minimap_border": false,
  99.  
  100.     // If enabled, will highlight any line with a caret
  101.     "highlight_line": false,
  102.  
  103.     // Valid values are "smooth", "phase", "blink", "wide" and "solid".
  104.     "caret_style": "smooth",
  105.  
  106.     // Set to false to disable underlining the brackets surrounding the caret
  107.     "match_brackets": true,
  108.  
  109.     // Set to false if you'd rather only highlight the brackets when the caret is
  110.     // next to one
  111.     "match_brackets_content": true,
  112.  
  113.     // Set to false to not highlight square brackets. This only takes effect if
  114.     // match_brackets is true
  115.     "match_brackets_square": true,
  116.  
  117.     // Set to false to not highlight curly brackets. This only takes effect if
  118.     // match_brackets is true
  119.     "match_brackets_braces": true,
  120.  
  121.     // Set to false to not highlight angle brackets. This only takes effect if
  122.     // match_brackets is true
  123.     "match_brackets_angle": false,
  124.  
  125.     // Enable visualization of the matching tag in HTML and XML
  126.     "match_tags": true,
  127.  
  128.     // Highlights other occurrences of the currently selected text
  129.     "match_selection": true,
  130.  
  131.     // Additional spacing at the top of each line, in pixels
  132.     "line_padding_top": 0,
  133.  
  134.     // Additional spacing at the bottom of each line, in pixels
  135.     "line_padding_bottom": 0,
  136.  
  137.     // Set to false to disable scrolling past the end of the buffer.
  138.     // On OS X, this value is overridden in the platform specific settings, so
  139.     // you'll need to place this line in your user settings to override it.
  140.     "scroll_past_end": true,
  141.  
  142.     // This controls what happens when pressing up or down when on the first
  143.     // or last line.
  144.     // On OS X, this value is overridden in the platform specific settings, so
  145.     // you'll need to place this line in your user settings to override it.
  146.     "move_to_limit_on_up_down": false,
  147.  
  148.     // Set to "none" to turn off drawing white space, "selection" to draw only the
  149.     // white space within the selection, and "all" to draw all white space
  150.     "draw_white_space": "selection",
  151.  
  152.     // Set to false to turn off the indentation guides.
  153.     // The color and width of the indent guides may be customized by editing
  154.     // the corresponding .tmTheme file, and specifying the colors "guide",
  155.     // "activeGuide" and "stackGuide"
  156.     "draw_indent_guides": true,
  157.  
  158.     // Controls how the indent guides are drawn, valid options are
  159.     // "draw_normal" and "draw_active". draw_active will draw the indent
  160.     // guides containing the caret in a different color.
  161.     "indent_guide_options": ["draw_normal"],
  162.  
  163.     // Set to true to removing trailing white space on save
  164.     "trim_trailing_white_space_on_save": false,
  165.  
  166.     // Set to true to ensure the last line of the file ends in a newline
  167.     // character when saving
  168.     "ensure_newline_at_eof_on_save": false,
  169.  
  170.     // Set to true to automatically save files when switching to a different file
  171.     // or application
  172.     "save_on_focus_lost": false,
  173.  
  174.     // The encoding to use when the encoding can't be determined automatically.
  175.     // ASCII, UTF-8 and UTF-16 encodings will be automatically detected.
  176.     "fallback_encoding": "Western (Windows 1252)",
  177.  
  178.     // Encoding used when saving new files, and files opened with an undefined
  179.     // encoding (e.g., plain ascii files). If a file is opened with a specific
  180.     // encoding (either detected or given explicitly), this setting will be
  181.     // ignored, and the file will be saved with the encoding it was opened
  182.     // with.
  183.     "default_encoding": "UTF-8",
  184.  
  185.     // Files containing null bytes are opened as hexadecimal by default
  186.     "enable_hexadecimal_encoding": true,
  187.  
  188.     // Determines what character(s) are used to terminate each line in new files.
  189.     // Valid values are 'system' (whatever the OS uses), 'windows' (CRLF) and
  190.     // 'unix' (LF only).
  191.     "default_line_ending": "system",
  192.  
  193.     // When enabled, pressing tab will insert the best matching completion.
  194.     // When disabled, tab will only trigger snippets or insert a tab.
  195.     // Shift+tab can be used to insert an explicit tab when tab_completion is
  196.     // enabled.
  197.     "tab_completion": true,
  198.  
  199.     // Enable auto complete to be triggered automatically when typing.
  200.     "auto_complete": true,
  201.  
  202.     // The maximum file size where auto complete will be automatically triggered.
  203.     "auto_complete_size_limit": 4194304,
  204.  
  205.     // The delay, in ms, before the auto complete window is shown after typing
  206.     "auto_complete_delay": 50,
  207.  
  208.     // Controls what scopes auto complete will be triggered in
  209.     "auto_complete_selector": "source - comment",
  210.  
  211.     // Additional situations to trigger auto complete
  212.     "auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ],
  213.  
  214.     // By default, auto complete will commit the current completion on enter.
  215.     // This setting can be used to make it complete on tab instead.
  216.     // Completing on tab is generally a superior option, as it removes
  217.     // ambiguity between committing the completion and inserting a newline.
  218.     "auto_complete_commit_on_tab": false,
  219.  
  220.     // Controls if auto complete is shown when snippet fields are active.
  221.     // Only relevant if auto_complete_commit_on_tab is true.
  222.     "auto_complete_with_fields": false,
  223.  
  224.     // By default, shift+tab will only unindent if the selection spans
  225.     // multiple lines. When pressing shift+tab at other times, it'll insert a
  226.     // tab character - this allows tabs to be inserted when tab_completion is
  227.     // enabled. Set this to true to make shift+tab always unindent, instead of
  228.     // inserting tabs.
  229.     "shift_tab_unindent": false,
  230.  
  231.     // If true, the selected text will be copied into the find panel when it's
  232.     // shown.
  233.     // On OS X, this value is overridden in the platform specific settings, so
  234.     // you'll need to place this line in your user settings to override it.
  235.     "find_selected_text": true,
  236.  
  237.     // When drag_text is enabled, clicking on selected text will begin a
  238.     // drag-drop operation
  239.     "drag_text": true,
  240.  
  241.     //
  242.     // User Interface Settings
  243.     //
  244.  
  245.     // The theme controls the look of Sublime Text's UI (buttons, tabs, scroll bars, etc)
  246.     "theme": "Default.sublime-theme",
  247.  
  248.     // Set to 0 to disable smooth scrolling. Set to a value between 0 and 1 to
  249.     // scroll slower, or set to larger than 1 to scroll faster
  250.     "scroll_speed": 1.0,
  251.  
  252.     // Controls side bar animation when expanding or collapsing folders
  253.     "tree_animation_enabled": true,
  254.  
  255.     // Makes tabs with modified files more visible
  256.     "highlight_modified_tabs": false,
  257.  
  258.     "show_tab_close_buttons": true,
  259.  
  260.     // Show folders in the side bar in bold
  261.     "bold_folder_labels": false,
  262.  
  263.     // OS X 10.7 only: Set to true to disable Lion style full screen support.
  264.     // Sublime Text must be restarted for this to take effect.
  265.     "use_simple_full_screen": false,
  266.  
  267.     // Valid values are "system", "enabled" and "disabled"
  268.     "overlay_scroll_bars": "system",
  269.  
  270.     //
  271.     // Application Behavior Settings
  272.     //
  273.  
  274.     // Exiting the application with hot_exit enabled will cause it to close
  275.     // immediately without prompting. Unsaved modifications and open files will
  276.     // be preserved and restored when next starting.
  277.     //
  278.     // Closing a window with an associated project will also close the window
  279.     // without prompting, preserving unsaved changes in the workspace file
  280.     // alongside the project.
  281.     "hot_exit": true,
  282.  
  283.     // remember_open_files makes the application start up with the last set of
  284.     // open files. Changing this to false will have no effect if hot_exit is
  285.     // true
  286.     "remember_open_files": true,
  287.  
  288.     // OS X only: When files are opened from finder, or by dragging onto the
  289.     // dock icon, this controls if a new window is created or not.
  290.     "open_files_in_new_window": true,
  291.  
  292.     // OS X only: This controls if an empty window is created at startup or not.
  293.     "create_window_at_startup": true,
  294.  
  295.     // Set to true to close windows as soon as the last file is closed, unless
  296.     // there's a folder open within the window. This is always enabled on OS X,
  297.     // changing it here won't modify the behavior.
  298.     "close_windows_when_empty": false,
  299.  
  300.     // Show the full path to files in the title bar.
  301.     // On OS X, this value is overridden in the platform specific settings, so
  302.     // you'll need to place this line in your user settings to override it.
  303.     "show_full_path": true,
  304.  
  305.     // Shows the Build Results panel when building. If set to false, the Build
  306.     // Results can be shown via the Tools/Build Results menu.
  307.     "show_panel_on_build": true,
  308.  
  309.     // Preview file contents when clicking on a file in the side bar. Double
  310.     // clicking or editing the preview will open the file and assign it a tab.
  311.     "preview_on_click": true,
  312.  
  313.     // folder_exclude_patterns and file_exclude_patterns control which files
  314.     // are listed in folders on the side bar. These can also be set on a per-
  315.     // project basis.
  316.     "folder_exclude_patterns": [".svn", ".git", ".hg", "CVS"],
  317.     "file_exclude_patterns": ["*.pyc", "*.pyo", "*.exe", "*.dll", "*.obj","*.o", "*.a", "*.lib", "*.so", "*.dylib", "*.ncb", "*.sdf", "*.suo", "*.pdb", "*.idb", ".DS_Store", "*.class", "*.psd", "*.db"],
  318.     // These files will still show up in the side bar, but won't be included in
  319.     // Goto Anything or Find in Files
  320.     "binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],
  321.  
  322.     // List any packages to ignore here. When removing entries from this list,
  323.     // a restart may be required if the package contains plugins.
  324.     "ignored_packages": ["Vintage"]
  325. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement