Keyboard shortcuts for tech-savvy journalists, no matter if they write code or articles

Rebecca Lai watches me type every letter of a long file name — something like pythonreallylongfilename1234567.py — into Sublime. After the first couple letters, she cannot contain herself.

“TAB COMPLETE! TAB COMPLETE!”

If there's an apt analogy for the way Lai must feel when I forget to tab complete (keep reading if you're unfamiliar with the term) as she helps debug my code, it must be something like this: you're watching over your mother’s shoulder as she begins to Google something. She moves her mouse over to the search box. She clicks in the box to make sure, yes, the cursor is blinking there. She types in a search term. She moves her mouse over to the “search” button. Then, finally, she clicks. Sweet release.

Why? Why would you do that?

Because she doesn't know any better. And sometimes neither do I.

Some bits of wisdom are learned out of necessity, like when you've pored over your Macbook keyboard only to realize there’s no PrtScn key like you’d find on a PC ( + + 3 or 4, if you want just a selection of the screen). Others are barked at you until you comply.

The thing with keyboard shortcuts is that sometimes, you don’t even think to figure out if one exists. Tab completion is a good example. Microsoft Word doesn’t let you tab to complete a word or phrase just because you’ve already established it in your header. But Sublime Text does; you'd just never know it unless someone told you.

Of all the keyboard shortcuts that exist, the ones below are what I’ve found to be the the most valuable, especially for someone constantly switching between editing articles and editing code.




















Shortcut Why you need it Works in
Tab Let the computer finish that string for you. Terminal, Sublime
+ / Is this the offending bit of code? Or this? Comment out all the lines at once. Sublime
To avoid rewriting the command you just wrote, use the up arrow. Keep pressing up to bring up even older commands you wrote. Terminal
+ C You’re probably thinking “duh, everyone know how to copy text.” You might be pleased to know, however, that if you don’t have text highlighted, this shortcut will copy the current line your cursor is on. Sublime
+ X If you don’t have any text highlighted, this shortcut will cut the current line your cursor is on. Sublime
+ D Select the current word your cursor is on. Sublime, word processors
Option + / Move cursor to beginning or end of word. Sublime, word processors
+ / Move cursor to beginning or end of current line. Sublime, word processors
Alt + Shift + / Select text a word at a time. Sublime, word processors
Shift + / Select text a character at a time. Sublime, word processors
+ Shift + / Select text from current cursor position to beginning or end of current line. Sublime, word processors
+ Shift + / Select text from current cursor position to beginning or end of document. Sublime, word processors
Esc + B / F Move cursor from argument to argument. Terminal
Control + A / E Move cursor to beginning or end of command. Terminal
Control  + U Clear line. Terminal
Control + W Delete word before cursor. Terminal

Keyboard shortcuts longer than two keys at a time have taken me a little more practice than others to program into the brain hardware. But as numerous journo-hackers have told me, they always appreciate a savvy individual who knows his or her away around a computer, and that includes being able to navigate text editors without relying on clicks. Plus, I welcome anything that saves me from the awkward moments of silence between a mentor and me as I struggle through demonstrating broken code.

Have a few tricks of your own? Share them in the comments.

About the author

Suyeon Son

Undergraduate Fellow

Latest Posts

  • Building a Community for VR and AR Storytelling

    In 2016 we founded the Device Lab to provide a hub for the exploration of AR/VR storytelling on campus. In addition to providing access to these technologies for Medill and the wider Northwestern community, we’ve also pursued a wide variety of research and experimental content development projects. We’ve built WebVR timelines of feminist history and looked into the inner workings of ambisonic audio. We’ve built virtual coral reefs and prototyped an AR experience setting interviews...

    Continue Reading

  • A Brief Introduction to NewsgamesCan video games be used to tell the news?

    When the Financial Times released The Uber Game in 2017, the game immediately gained widespread popularity with more than 360,000 visits, rising up the ranks as the paper’s most popular interactive piece of the year. David Blood, the game’s lead developer, said that the average time spent on the page was about 20 minutes, which was substantially longer than what most Financial Times interactives tend to receive, according to Blood. The Uber Game was so successful that the Financial...

    Continue Reading

  • With the 25th CAR Conference upon us, let’s recall the first oneWhen the Web was young, data journalism pioneers gathered in Raleigh

    For a few days in October 1993, if you were interested in journalism and technology, Raleigh, North Carolina was the place you had to be. The first Computer-Assisted Reporting Conference offered by Investigative Reporters & Editors brought more than 400 journalists to Raleigh for 3½ days of panels, demos and hands-on lessons in how to use computers to find stories in data. That seminal event will be commemorated this week at the 25th CAR Conference, which...

    Continue Reading

  • Prototyping Augmented Reality

    Something that really frustrates me is that, while I’m excited about the potential AR has for storytelling, I don’t feel like I have really great AR experiences that I can point people to. We know that AR is great for taking a selfie with a Pikachu and it’s pretty good at measuring spaces (as long as your room is really well lit and your phone is fully charged) but beyond that, we’re really still figuring...

    Continue Reading

  • Capturing the Soundfield: Recording Ambisonics for VR

    When building experiences in virtual reality we’re confronted with the challenge of mimicking how sounds hit us in the real world from all directions. One useful tool for us to attempt this mimicry is called a soundfield microphone. We tested one of these microphones to explore how audio plays into building immersive experiences for virtual reality. Approaching ambisonics with the soundfield microphone has become popular in development for VR particularly for 360 videos. With it,...

    Continue Reading

  • Audience Engagement and Onboarding with Hearken Auditing the News Resurrecting History for VR Civic Engagement with City Bureau Automated Fact Checking Conversational Interface for News Creative Co-Author Crowdsourcing for Journalism Environmental Reporting with Sensors Augmented Reality Visualizations Exploring Data Visualization in VR Fact Flow Storytelling with GIFs Historical Census Data Information Spaces in AR/VR Contrasting Forms Of Interactive 3D Storytelling Interactive Audio Juxtapose Legislator Tracker Storytelling with Augmented Reality Music Magazine Navigating Virtual Reality Open Data Reporter Oscillations Personalize My Story Photo Bingo Photojournalism in 3D for VR and Beyond Podcast Discoverability Privacy Mirror Projection Mapping ProPublica Illinois Rethinking Election Coverage SensorGrid API and Dashboard Sidebar Smarter News Exploring Software Defined Radio Story for You Storyline: Charts that tell stories. Storytelling Layers on 360 Video Talking to Data Visual Recipes Watch Me Work Writing and Designing for Chatbots
  • Prototyping Spatial Audio for Movement Art

    One of Oscillations’ technical goals for this quarter’s Knight Lab Studio class was an exploration of spatial audio. Spatial audio is sound that exists in three dimensions. It is a perfect complement to 360 video, because sound sources can be localized to certain parts of the video. Oscillations is especially interested in using spatial audio to enhance the neuroscientific principles of audiovisual synchrony that they aim to emphasize in their productions. Existing work in spatial......

    Continue Reading

Storytelling Tools

We build easy-to-use tools that can help you tell better stories.

View More