stillbargains.blogg.se

Showing the same document in two sublime text windows
Showing the same document in two sublime text windows





showing the same document in two sublime text windows
  1. SHOWING THE SAME DOCUMENT IN TWO SUBLIME TEXT WINDOWS HOW TO
  2. SHOWING THE SAME DOCUMENT IN TWO SUBLIME TEXT WINDOWS PC
  3. SHOWING THE SAME DOCUMENT IN TWO SUBLIME TEXT WINDOWS WINDOWS

Using multiple cursors to edit multiple things at once is the basis of the efficiency gains discussed here. Okay, let’s dive in! The Big Epiphany: Working with Multiple Cursors And if you need a primer on browser inspectors (which I use to pull the page’s markup from Chrome into Sublime Text at 1:55 in the video), do yourself a favor and read up on those impossibly useful tools. Given that preamble, you can follow along with the video with the text editor of your choice, Firefox or Chrome, and this page of gross table-based HTML markup from one of the oldest still-active websites in the world, dedicated to (what else?) hatred of Internet Explorer. So just swap cmd for ctrl and you should be good to go with the rest of the advice here.

SHOWING THE SAME DOCUMENT IN TWO SUBLIME TEXT WINDOWS PC

The only difference to keep in mind if you’re on a cool Mac instead of a gross PC is that, rather than the ctrl key, Macs have a cmd key that serves (for the purposes of this article) the same function. However, it’s more than likely that trying what I describe here will “just work” if you have a well-established text editor-a degree of consistency in text editor shortcuts is in everyone’s interest. If you’ve got your own text editor, just check the documentation for the commands I mention, and revise my advice as needed.

showing the same document in two sublime text windows

Certainly the ones listed for PHPStorm and Atom are almost identical. Here are some notes for translating these text editor shortcuts to your own setup: Most Basic Shortcuts are Consistent Across Text Editorsįrom what I’ve seen, the basic keyboard shortcuts for other text editors-at least, the ones we’re discussing here-are very similar.

SHOWING THE SAME DOCUMENT IN TWO SUBLIME TEXT WINDOWS WINDOWS

This text editor tutorial discusses Sublime Text shortcuts on a Windows machine, but it should be useful to everybody, not just the subset of people who use that combination. This text editor tutorial discusses Sublime Text shortcuts on a Windows machine, but it should be useful to everybody. 🙂 Working with Other Text Editors and Operating Systems

showing the same document in two sublime text windows

Don’t let it distract you, and I hear it too. Video can’t be loaded because JavaScript is disabled: Basic Sublime-Text-Fu for Web Developers ()īy the way, the sound quality is sadly not ideal on the video-seems I was too close to the mic. If you don’t want to watch the whole thing (probably the right impulse!), I’ve timestamped key moments from the video in the text, in bold. So please follow along with the video below.

SHOWING THE SAME DOCUMENT IN TWO SUBLIME TEXT WINDOWS HOW TO

This week’s article is very much an exercise in show-and-tell, since it’s very hard to describe how to use these tricks and shortcuts work without demonstrating them. You’ll learn some of the most helpful principles of “Sublime-Text-Fu” (or “whatever-text-editor-you-use-fu,” see below): how the text editor shortcuts that relate to editing multiple elements at the same time, combined with specific text editing practices, can help you work much more efficiently with large unwieldy text blocks of any kind. To get you closer to getaway-van status, today we’re discussing some shortcuts that will make you much more efficient at editing text files-specifically, in a text editor, in my case Sublime Text. Let’s Learn Some Text Editor Tricks and Shortcuts Only then do you get to the fun part, which is-as we all know - muttering “C’mon, baby” as you hack the mainframe from the back of a speeding getaway van. You might think a web developer’s job is to have strong opinions about impenetrable ideas like “API design” and “abstraction layers.” But a literal description of our job is “to type things into a computer.”Īnd so, if you want to be a good web developer, you have to be unusually skilled at editing the contents of text files on a computer, and doing it quickly and precisely. These building blocks don’t sound as glamorous as “charm a jury” or “transplant a heart”-but there’s literally no job, including those glamorous parts, without the basics. Lawyers have to read quickly, surgeons have to have steady (and washed!) hands, and so on.

showing the same document in two sublime text windows

Well, at some point, jobs get down to their basics. To be a good web developer, you have to be unusually skilled at quickly and precisely editing text files on a computer. Why read an article on text editor shortcuts and tricks?







Showing the same document in two sublime text windows