├── User ├── SublimeLinter.sublime-settings ├── Spaces to Tabs.sublime-macro ├── Fetch.sublime-settings ├── Package Control.sublime-settings ├── zen-coding.sublime-settings ├── inc_dec_value.sublime-settings ├── Default (OSX).sublime-keymap └── SideBarEnhancements │ └── Open With │ └── Side Bar.sublime-menu └── README.md /User/SublimeLinter.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "sublimelinter_disable": 3 | [ 4 | "css" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /User/Spaces to Tabs.sublime-macro: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "args": 4 | { 5 | "set_translate_tabs": true 6 | }, 7 | "command": "unexpand_tabs" 8 | } 9 | ] 10 | -------------------------------------------------------------------------------- /User/Fetch.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "files": 3 | { 4 | "jquery" : "http://code.jquery.com/jquery.min.js", 5 | "normalize.css": "https://raw.github.com/necolas/normalize.css/master/normalize.css", 6 | "imagesLoaded" : "https://raw.github.com/desandro/imagesloaded/master/jquery.imagesloaded.min.js", 7 | "masonry" : "https://raw.github.com/desandro/masonry/master/jquery.masonry.min.js", 8 | "isotope" : "https://raw.github.com/desandro/isotope/master/jquery.isotope.min.js" 9 | }, 10 | "packages": 11 | { 12 | "html5-boilerplate": "http://github.com/h5bp/html5-boilerplate/zipball/v2.0stripped", 13 | "320 and up" : "https://github.com/malarkey/320andup/zipball/master", 14 | "Foundation" : "https://github.com/zurb/foundation/zipball/master", 15 | "Kickoff" : "https://github.com/tmwagency/kickoff/zipball/master" 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /User/Package Control.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "installed_packages": 3 | [ 4 | "AdvancedNewFile", 5 | "Alignment", 6 | "AlignTab", 7 | "All Autocomplete", 8 | "AutoFileName", 9 | "Case Conversion", 10 | "ColorPicker", 11 | "DocBlockr", 12 | "EditorConfig", 13 | "Emmet", 14 | "File Navigator", 15 | "FindKeyConflicts", 16 | "HTML5", 17 | "Idiomatic-CSS-Comments-Snippets", 18 | "Inc-Dec-Value", 19 | "JavaScript & NodeJS Snippets", 20 | "JavaScript Patterns", 21 | "jQuery", 22 | "JS Snippets", 23 | "Jump Along Indent", 24 | "Keymap Redefiner", 25 | "LESS", 26 | "MoveText", 27 | "Open-Include", 28 | "Origami", 29 | "ReadmePlease", 30 | "RegReplace", 31 | "SASS Snippets", 32 | "ScopeHunter", 33 | "SCSS", 34 | "SideBarEnhancements", 35 | "SmartMarkdown", 36 | "STProjectMaker", 37 | "Theme - Phoenix" 38 | ] 39 | } 40 | -------------------------------------------------------------------------------- /User/zen-coding.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | // Copy any modified settings to `User/zen-coding.sublime-settings` 3 | // otherwise modifications will not survive updates. 4 | 5 | // Will sublime.log_commands(True) and output Zen Specific debug info 6 | "debug" : false, 7 | 8 | // Disable specific contextual completions that aren't part of `zen proper` 9 | "completions_blacklist": [ 10 | "css_selectors", 11 | "css_property_values", 12 | "html_elements_attributes", 13 | "html_attributes_values", 14 | "css_properties" 15 | ], 16 | 17 | // For those who just want `zen as you type`, disable completions entirely 18 | "disable_completions": false, 19 | 20 | // These are `file type` settings and must be copied to 21 | // `User/Base File.sublime-settings` 22 | // or a syntax specific 1 like 23 | // `User/HTML.sublime-settings` 24 | // You don't copy the whole structure, but rather individual keys. 25 | // Inside the `File Settings` key. 26 | // | 27 | // /^\ 28 | "File Settings" : { 29 | // README------^/ 30 | // README----->/ 31 | // README----^/ 32 | //>------------->/ 33 | 34 | // If `true` will disable ctrl+alt+n binding 35 | "alt_gr" : false, 36 | // If `true` will insert id="$1" snippet on pressing '#', similar on '.' 37 | // Useful for `raw html`, but annoying for some templating langs. 38 | "auto_id_class" : true 39 | } 40 | 41 | } -------------------------------------------------------------------------------- /User/inc_dec_value.sublime-settings: -------------------------------------------------------------------------------- 1 | { 2 | "file": "inc_dec_value.sublime-settings" 3 | 4 | 5 | , "action_inc_min": 1 // default: 1, key: Alt + Up 6 | , "action_dec_min": -1 // default: -1, key: Alt + Down 7 | 8 | , "action_inc_max": 10 // default: 10, key: Super + Up 9 | , "action_dec_max": -10 // default: -10, key: Super + Down 10 | 11 | , "action_inc_all": 100 // default: 10, key: Super + Alt + Up 12 | , "action_dec_all": -100 // default: -10, key: Super + Alt + Down 13 | 14 | 15 | , "enums": [ // write values to the list only in lowercase 16 | ["yes", "no"] 17 | 18 | , ["true", "false"] 19 | 20 | , ["relative", "absolute", "fixed" ] 21 | , ["top", "bottom" ] 22 | , ["left", "right" ] 23 | , ["width", "height" ] 24 | , ["margin", "padding"] 25 | , ["block", "none", "inline", "inline-block"] 26 | 27 | , ["h1", "h2", "h3", "h4", "h5", "h6"] 28 | 29 | , ["am", "pm"] 30 | , ["sun", "mon", "tue", "wed", "thu", "fri", "sat"] 31 | , ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"] 32 | , ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"] 33 | , ["i", "ii", "iii", "iv", "v", "vi", "vii", "viii", "ix", "x", "xi", "xii", "xiii","xiv", "xv", "xvi", "xvii", "xviii", "xix", "xx" ] 34 | ] 35 | 36 | , "force_use_upper_case_for_hex_color": true 37 | } 38 | -------------------------------------------------------------------------------- /User/Default (OSX).sublime-keymap: -------------------------------------------------------------------------------- 1 | [ 2 | { "keys": ["super+t"], "command": "show_overlay", "args": {"overlay": "command_palette"} }, 3 | 4 | // Bookmarks 5 | { "keys": ["f1"], "command": "toggle_bookmark" }, 6 | { "keys": ["f2"], "command": "prev_bookmark" }, 7 | { "keys": ["f3"], "command": "next_bookmark" }, 8 | 9 | // Tab sizes 10 | { "keys": ["alt+ctrl+1"], "command": "set_setting", "args": {"setting": "tab_size", "value": 1} }, 11 | { "keys": ["alt+ctrl+2"], "command": "set_setting", "args": {"setting": "tab_size", "value": 2} }, 12 | { "keys": ["alt+ctrl+3"], "command": "set_setting", "args": {"setting": "tab_size", "value": 3} }, 13 | { "keys": ["alt+ctrl+4"], "command": "set_setting", "args": {"setting": "tab_size", "value": 4} }, 14 | 15 | // Alignment plugin 16 | { "keys": ["super+alt+shift+a"], "command": "alignment" }, 17 | { "keys": ["super+alt+ctrl+a"], "command": "alignment" }, 18 | 19 | { "keys": ["super+shift+alt+u"], "command": "UrlQuoteSelection" }, 20 | 21 | // A macro command created by Zander Martineau 22 | { "keys": ["super+shift+alt+s"], "command": "run_macro_file", "args": {"file": "Packages/User/[yourusername]/Spaces to Tabs.sublime-macro"} }, 23 | 24 | // Large comment block shortcut 25 | { "keys": ["ctrl+shift+b"], "command": "insert_snippet", "args": {"contents": "${TM_COMMENT_START/s*$//}====${1/./=/g}====${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//}=== ${1:Banner} ===${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//}====${1/./=/g}====${TM_COMMENT_END/^s*(.+)/ $1/}"}}, 26 | 27 | // Medium comment block shortcut 28 | { "keys": ["ctrl+shift+c"], "command": "insert_snippet", "args": {"contents": "${TM_COMMENT_START/s*$//}=== ${1:Banner} ===${TM_COMMENT_END/^s*(.+)/ $1/}\n${TM_COMMENT_START/s*$//}====${1/./=/g}====${TM_COMMENT_END/^s*(.+)/ $1/}"}}, 29 | 30 | // Small comment block shortcut 31 | { "keys": ["ctrl+shift+x"], "command": "insert_snippet", "args": {"contents": "${TM_COMMENT_START/s*$//}=== ${1:Banner} ===${TM_COMMENT_END/^s*(.+)/ $1/}"}}, 32 | 33 | // Move Text 34 | { "keys": ["super+ctrl+left"], "command": "move_text_left" }, 35 | { "keys": ["super+ctrl+right"], "command": "move_text_right" } 36 | ] 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Sublime Text Setup Wiki 2 | #### This project's aim is to enable people to get started with Sublime Text much more quickly by showing which the best plugins are to use. Plugins can turn Sublime from a good text editor into a true power house, or IDE, for almost any writing/coding task. 3 | #### Start with the [essential packages](https://github.com/mrmartineau/SublimeTextSetup/wiki/Essential-packages), you will definitely want to install Package Control (so that installing other plugins are much easier), then browse through the other guides. 4 | [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/mrmartineau/SublimeTextSetupWiki?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) 5 | 6 | ### [Go to the wiki >>](https://github.com/mrmartineau/SublimeTextSetup/wiki/) 7 | 8 | ##### Package/plugin types: 9 | * [Essential packages](https://github.com/mrmartineau/SublimeTextSetup/wiki/Essential-packages) 10 | * [General programming packages](https://github.com/mrmartineau/SublimeTextSetup/wiki/General-programming-packages) 11 | * [Front end specific Packages](https://github.com/mrmartineau/SublimeTextSetup/wiki/Front-end-specific-Packages) 12 | * [Source control and FTP packages](https://github.com/mrmartineau/SublimeTextSetup/wiki/Source-control-and-FTP-packages) 13 | * [General Sublime Text resources and info](https://github.com/mrmartineau/SublimeTextSetup/wiki/General-Sublime-Text-resources-and-info) 14 | * [Colour Schemes](https://github.com/mrmartineau/SublimeTextSetup/wiki/Colour-Schemes) 15 | * [Interface Themes](https://github.com/mrmartineau/SublimeTextSetup/wiki/Interface-Themes) 16 | 17 | View all [pages here](https://github.com/mrmartineau/SublimeTextSetup/wiki/_pages) 18 | 19 | #### Install Sublime Text 20 | Go to http://www.sublimetext.com/2 to download & install. If you have already purchased Sublime Text 2 you can try out version 3 at http://www.sublimetext.com/3 21 | 22 | *** 23 | 24 | ### Suggestions, amendments or improvements 25 | If you think that I have missed an important package, made a mistake, or another packages has superseeded one on this list, I would love to know. Please create a [new issue](https://github.com/mrmartineau/SublimeTextSetup/issues/new) with a link to the new package. 26 | -------------------------------------------------------------------------------- /User/SideBarEnhancements/Open With/Side Bar.sublime-menu: -------------------------------------------------------------------------------- 1 | [ 2 | {"id": "side-bar-files-open-with", 3 | "children": 4 | [ 5 | 6 | // Espresso 7 | { 8 | "caption": "Espresso", 9 | "id": "side-bar-files-open-with-espresso", 10 | 11 | "command": "side_bar_files_open_with", 12 | "args": { 13 | "paths": [], 14 | "application": "Espresso.app", 15 | "extensions":"css" //open all even folders 16 | } 17 | }, 18 | // CSS Edit 19 | { 20 | "caption": "CSS Edit", 21 | "id": "side-bar-files-open-with-cssedit", 22 | 23 | "command": "side_bar_files_open_with", 24 | "args": { 25 | "paths": [], 26 | "application": "CSSEdit.app", 27 | "extensions":"css" //any file with extension 28 | } 29 | }, 30 | {"caption":"-"}, 31 | // Browsers 32 | { 33 | "caption": "Chrome", 34 | "id": "side-bar-files-open-with-chrome", 35 | 36 | "command": "side_bar_files_open_with", 37 | "args": { 38 | "paths": [], 39 | "application": "Chrome.app", 40 | "extensions":"html|php" //any file with these extensions 41 | } 42 | }, 43 | { 44 | "caption": "Firefox", 45 | "id": "side-bar-files-open-with-firefox", 46 | 47 | "command": "side_bar_files_open_with", 48 | "args": { 49 | "paths": [], 50 | "application": "Firefox.app", 51 | "extensions":"html|php" //any file with these extensions 52 | } 53 | }, 54 | {"caption":"-"}, 55 | // Photoshop 56 | { 57 | "caption": "Photoshop", 58 | "id": "side-bar-files-open-with-photoshop", 59 | 60 | "command": "side_bar_files_open_with", 61 | "args": { 62 | "paths": [], 63 | "application": "Adobe Photoshop CS5.app", 64 | "extensions":"psd|png|jpg|jpeg|gif" //any file with these extensions 65 | } 66 | }, 67 | // Preview 68 | { 69 | "caption": "Preview", 70 | "id": "side-bar-files-open-with-preview", 71 | 72 | "command": "side_bar_files_open_with", 73 | "args": { 74 | "paths": [], 75 | "application": "Preview.app", 76 | "extensions":"psd|png|jpg|jpeg|gif" //any file with these extensions 77 | } 78 | }, 79 | {"caption":"-"}, 80 | // Textmate 81 | { 82 | "caption": "Textmate", 83 | "id": "side-bar-files-open-with-textmate", 84 | 85 | "command": "side_bar_files_open_with", 86 | "args": { 87 | "paths": [], 88 | "application": "Textmate.app", 89 | "extensions":"html|php|js" //any file with these extensions 90 | } 91 | }, 92 | // Coda 93 | { 94 | "caption": "Coda", 95 | "id": "side-bar-files-open-with-coda", 96 | 97 | "command": "side_bar_files_open_with", 98 | "args": { 99 | "paths": [], 100 | "application": "Coda.app", 101 | "extensions":"html|php|js" //any file with these extensions 102 | } 103 | } 104 | ] 105 | } 106 | ] --------------------------------------------------------------------------------