Notes on Mastering Sublime Text
I picked up Mastering Sublime Text while working through the first section of the Rails Series on Coursera. First, its nice to sometimes switch up your text editors to see what you are missing. Second, Sublime Text has a very small learning curve and I never took the time to learn about some of the more advanced features so this was a decent use of my time. Third, I really want to write a CircleCI plugin for Sublime Text similar to the ones that exist for atom and Visual Studio Code, and this book has a great section that goes into detail about what it takes to write a plugin.
Things that I always loved about Sublime Text
- Multi-line Selection
- Dead Simple Multi File Find and Replace
- Speed -- Go try to open a 10K line log file in Atom. I'll wait.
- Package Control package manager was one of the first of its class for GUI editors. Go try to install any plugin in Eclipse. I'll wait.
- Distraction Free Mode -- Perfect for writing prose
Things that I wish Sublime Text had after using Atom
- Color coded indication about git status. There seems to be afeature request for this, but I am not 100% sure of the reasoning on why this is so challenging to implement.
- File Type Icons; I don't know why but this is one of my favorite atom plugins and it makes quickly finding the files that you are looking for a breeze.
- Pigments plugin - another one of my favorites. ST has a similar plugin but its not as good and it also underlines the font which can be a big hard to read.
- Being able to drag and drop files around in the sidebar. This comes in handy quite a bit.
- Better overall git support, I actually think that VS Code has some of the best git integration out there, followed by magit and vim fugitive.
Things I learned
Searching
- Sublime text has incremental search. This was one of my favorite features of emacs.
Command + Iopens it up, and you can go to the next result by repeatingCommand + I. - When searching for stuff, if you double click on the result it takes you directly to the file. This is such an awesome feature.
- Go to anything with
Command + P, holy crap is this powerful.
Editing
- This did not come directly from the book, but I learned this cool trick while working on this post. If you highlight some words you can then wrap them in braces. This is super handy when adding links in markdown.
- Snippets; I have triggered snippets accidentally in the past, but learning more about how they work and how to make custom ones was very useful.
- Vintage mode makes sublime behave like vi. Pretty cool!
Plugins
- SublimeCodeIntel - one of the best features of VS Code isIntelliSense, this comes close and is a super powerful code-completion plugin.
- TrailingSpaces - Linus Torvalds tells developers who use any editor that does not automatically strip trailing white space to get a real editor. This is built into Sublime Text, but this plugin adds some additional features to make this even better.
Sublime Text Internals
- Sublime has a bunch of useful Environment Variables that can be used when developing snippets and plugins.
- Visual Cues, I mentioned earlier that I really like some of the visual cues that Atom offers. There are a couple built in settings like making folders bold and highlighting modified tabs that make things easier to look at.
Testing
- The biggest difference between mode IDE's and Text Editors is build in testing and building functionality. Although testing is not built into Sublime Text, the book did an excellent job talking about several plugins that make testing PHP, Python, and Ruby a breeze. I found the RubyTest package to be the most useful since it has built in support for Test::Unit, Rspec, and Cucumber.
- There are also a ton of great plugins for debugging from within Sublime Text.
Plugin Development
- This was my primary reason for getting this book since I want to write a CircleCI Plugin that shows the status of your most recent build in the window. I was not disappointed, the book did a great job discussing what it takes to start, develop, and publish a plugin.
Errata
- SublimeLinter; the book mentions this plugin and says that it has a bunch of linters build in, this is no longer the case. It's still a very useful tool, it just requires a bit of configuration to get the most value out of it.
- The book tells you to add
trim_trailing_white_space_on_saveto your user settings if you have installed the TrailingSpaces packages. This did not work for me on Sublime Text 3. Instead I needed to add this setting under thetrailing_spaces.sublime-settingsfile with the new key called"trailing_spaces_trim_on_save"
Parting Thoughts
Mastering Sublime Text is a quick read, full of useful information for new and experienced users of Sublime Text. I would highly recommend it for anyone who uses Sublime to serve as a deep dive introduction and as a handy reference manual.Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.
Check out some more stuff to read down below.
Most popular posts this month
- SQLite DB Migrations with PRAGMA user_version
- My Custom Miniflux CSS Theme
- Making cgit Pretty
- Using cgit
- Convert Markdown to PDF in Sublime Text
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- Rewrote my blog with Zine from Drew DeVault's blog
- A eulogy for Vim from Drew DeVault's blog
- Pluralistic: AI "journalists" prove that media bosses don't give a shit (11 Mar 2026) from Pluralistic: Daily links from Cory Doctorow
- Offline 23 hours a day from Derek Sivers blog
- Pluralistic: California can stop Larry Ellison from buying Warners (28 Feb 2026) from Pluralistic: Daily links from Cory Doctorow
- On Alliances from Smashing Frames
- Acting ethically in an imperfect world from Smashing Frames
- Diffusion of Responsibility from Smashing Frames
Articles from blogs I follow around the net
Pluralistic: Demand destruction vs fuel-superceding infrastructure (04 May 2026)
Today's links Demand destruction vs fuel-superceding infrastructure: Will Trump hormuz us into the full Gretacene? Hey look at this: Delights to delectate. Object permanence: Beck, Scientologist; Citizen journalism; Podcast-killing treaty; US x Kiwi copyri...
via Pluralistic: Daily links from Cory Doctorow May 4, 20261993 communal internet shaped me: https://sive.rs/netizen
1993 communal internet shaped me: https://sive.rs/netizen
via Derek Sivers May 4, 2026The 1990s called and they want their dialog box back
This is perhaps my favourite feature in Lightroom. You press ⇧T, you draw a few lines, and presto – your photo is now even: This is doubly magical to me. The first part is that this is even possible – that you can straighten the photo in both dimensions af...
via Unsung May 3, 2026Generated by openring