It seems that within a year, Sublime Text has become one of the most loved text / code editor around here. I cannot count the number of articles that have been written about it, and it’s probably a good thing: it means that people like it… a lot.
I have been using it for some time now and I completely understand why people are so optimistic about it. Among others strong points, we can simply cite:
- Cross platform (Windows, OSX, Linux) software
- Configuration options for pretty much everything
- Many, many packages to add even more functionalities
Since I am using Sublime Text on multiple OS, I often need to replicate my configuration files from one installation to another. In order to make this easier for me, I am simply putting here my configuration file and list the different packages that I am using.
Below is my current configuration at the time of writing. For an up to date version, have a look at this gist.
{
"bold_folder_labels": true,
"color_scheme": "Packages/Base16 Color Schemes/base16-default.dark.tmTheme",
"font_face": "Ubuntu Mono",
"font_options":
[
"subpixel_antialias"
],
"font_size": 11.0,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"soda_classic_tabs": true,
"tab_size": 2,
"theme": "Soda Dark.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": "true"
}
In terms of installed packages, here is my current list. All of them have been installed through Will Bond’s Package Control. A lot of packages are related to syntax highlighting and snippets and a few more are here to simplify code edition.
- ApacheConf.tmLanguage: Syntax highlighter for Apache htaccess and .conf files
- Base16 Color Scheme: Color scheme for Sublime Text (among other)
- BeautifyRuby: Proper Ruby code alignment
- BracketHighlighter: Highlight matching brackets
- Clickable URLs: Make URL click-able (well kinda)
- CoffeeCompile: Compile CoffeeScript to JavaScript
- CoffeeScript: Syntax highlighting and snippets for CoffeeScript
- Comments Aware Enter: Continue comment on new line when “Enter” key is pressed on a comment line
- Crypto: Encrypt or decrypt file
- Csslisible: Order and make CSS file more readable (use external API)
- DetectSyntax: Detect the best syntax highlighter to use
- ERB Insert and Toggle Comment: Provide keyboard shortcut for ERB () blocks
- FileSystem Autocompletion: Auto-complete file name based on your file system
- Git: Provide some Git interaction from within Sublime Text
- Haml: HAML syntax highlighting
- HTML5: Add HTML5 syntax highlighting
- HTML Attributes: HTML(5) attribute completion
- HTML Tidy: Clean and prettify HTML code
- jQuery: Snippets for jQuery
- LESS: Syntax highlighting for LESS
- Markdown Preview: Preview Markdown in browser
- MarkdownBuild: Transform Markdown to HTML
- Meld diff: Add option to visualize diff in Meld right from the menu
- Package Control: The package to manage them all
- Rails Latest Migration: Quick access to the latest migration
- Rails Partial: Create Rails partials easily
- Rails Related Files: Direct access to controller, model and views from the context menu
- SCSS: SCSS syntax highlighting
- SideBarEnhancements: Additional options to manage files and folders from the side bar
- SideBarGit: Add Git commands in the side bar
- SmartMarkdown: A few commands and built-in tricks to make it easier working with Markdown
- Surround: Additional commands to add / delete / modify text around the selection
- Tag: Formatting options for HTML / XML tags
- Theme - Soda: The current theme that I am using
- yardoc: Generate Yardoc documentation with ‘Ctrl’+’Enter’
For the time being, comments are managed by Disqus, a third-party library. I will eventually replace it with another solution, but the timeline is unclear. Considering the amount of data being loaded, if you would like to view comments or post a comment, click on the button below. For more information about why you see this button, take a look at the following article.