Sublime Text: A Lightweight GUI Editor

Text Editors & IDEs Survey

Chapter 3 · Sublime Text: A Lightweight GUI Editor

Chapters 1 and 2 placed Sublime Text between nano's own minimalism and a full IDE's own depth. This chapter covers what actually fills that middle ground: a real graphical editor with genuine power features, still fast enough to feel closer to nano than to a full IDE in daily use.

Fast Startup, Real GUI

Unlike nano, Sublime Text is a genuine graphical application — syntax highlighting, a sidebar file browser, tabs across open files. Unlike a full IDE, it's built around launching near-instantly, a deliberate design priority rather than an accident of being simpler.

Multiple Cursors

Sublime Text's own signature feature: Ctrl+Click to place additional cursors anywhere, or Ctrl+D to select the next occurrence of the currently selected text and add a cursor there too. Every cursor edits simultaneously, letting you retype several similar lines at once, live, without a macro or a find-and-replace pattern. This is genuinely different from Android Studio: The IDE Itself's own Rename refactoring — multiple cursors is a manual, visual, multi-point edit you control interactively, not a structural operation that understands what an identifier actually refers to.

Goto Anything

Ctrl+P fuzzy-match jump to any file Ctrl+P @symbol jump to a symbol within a file Ctrl+P :42 jump to line 42

Goto Anything (Ctrl+P) fuzzy-matches file names for fast, keyboard-only navigation, with @ narrowing to symbols and : jumping to a specific line number — quick project navigation without Sublime Text needing to build the kind of deep, persistent project index a full IDE maintains.

Package Control: A Real But Lighter Plugin Ecosystem

Sublime Text has a genuine package manager, Package Control — a real ecosystem nano has none of at all. But it's lighter than a full IDE's own built-in tooling in a meaningful way: packages here are community-contributed and optional, adding capability on top of a fast core editor, rather than being deeply integrated, always-on infrastructure the way a full IDE's own built-in refactoring and language-server tooling is.

AspectnanoSublime TextFull IDE
InterfaceTerminal onlyReal GUIReal GUI
Startup timeInstantNear-instantReal, noticeable
Plugin ecosystemNonePackage Control, optionalDeep, built-in tooling
Project awarenessNoneLight (Goto Anything)Full project index
A genuinely popular choice for straightforward web work
Sublime Text is a real, common choice for HTML/CSS/JavaScript work covered in this site's own web development courses — precisely because it's fast and capable enough for that kind of project without a full IDE's own overhead, when deep language-server tooling isn't the deciding factor.
Multiple cursors isn't just find-and-replace with extra steps
It's tempting to treat multiple cursors as basically the same thing as find-and-replace with a regex pattern. They solve genuinely different problems: find-and-replace applies one fixed transformation blindly to every match at once, with no per-location judgment involved. Multiple cursors let you see and interactively edit each location as you go — adjusting one location slightly differently, or simply skipping one that doesn't actually fit the pattern — a level of live, per-instance control find-and-replace doesn't offer at all.

Hands-On Exercises

Exercise 1

You need to rename a variable used on five lines, but on two of those lines the surrounding code also needs a small additional tweak specific to that line. Explain why multiple cursors would handle this situation better than a single find-and-replace operation.

📄 View solution
Exercise 2

Explain why Sublime Text's own multiple cursors and Android Studio's own Rename refactoring, despite both being described as ways to change several things across code, are not interchangeable tools for the same job.

📄 View solution
Exercise 3

A developer working on a straightforward static HTML/CSS/JS website is deciding between a full JetBrains IDE and Sublime Text. Using this chapter's own material, explain a reasonable case for choosing Sublime Text here.

📄 View solution

Chapter 3 Quick Reference

  • Sublime Text is a real GUI editor with near-instant startup, sitting between nano and a full IDE
  • Multiple cursors (Ctrl+Click/Ctrl+D) — interactive, per-location editing, genuinely different from a blind find-and-replace
  • Goto Anything (Ctrl+P, @, :) — fast fuzzy navigation without a deep project index
  • Package Control — a real but optional, lighter-weight plugin ecosystem than a full IDE's own built-in tooling