惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

M
MIT News - Artificial intelligence
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
月光博客
月光博客
博客园 - Franky
腾讯CDC
T
Tailwind CSS Blog
Recent Announcements
Recent Announcements
V
V2EX
N
Netflix TechBlog - Medium
量子位
Jina AI
Jina AI
Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
爱范儿
爱范儿
博客园 - 叶小钗
D
Docker
MongoDB | Blog
MongoDB | Blog
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss

CNET

Valve's Steam Machine: Summer Release Planned, Still No Price Apple TV: 28 of the Best Shows You're Probably Not Watching YouTube TV vs. DirecTV vs. Hulu Live and More: Which Has the Most Must-Have Channels Out of 100? If You Want to Be a Better Pet Parent, AI Can Help I Was Shocked by How Good These Budget TVs Were Trump Phone Looks Different, Has No Launch Date, Isn't Made in America The Apple Watch Series 12 Is Rumored to Revive a Retired iPhone Feature Best Projector of 2026: Tested by Experts Best Home Theater Systems of 2026 How to Use Apple's Clean Up Tool to Remove Unwanted People and Things From Your Photos Today's NYT Strands Hints, Answers and Help for April 12 #770 Today's NYT Connections Hints, Answers and Help for April 12, #1036 Today's Wordle Hints, Answer and Help for April 12, #1758 Today's NYT Mini Crossword Answers for Sunday, April 12 Today's NYT Connections: Sports Edition Hints and Answers for April 12, #566 Watch a Robot Stuff Cash Into a Wallet Just Like You Do This Animation Startup Wants to Make It Easier to Tell Open-Ended Stories The 23 Best Graduation Gifts for 2026 Grand National 2026 Livestream: How to Watch Aintree Horse Racing From Anywhere Amazon Luna to Drop Support for Third-Party Games and Subscriptions in June YouTube Premium Is the Latest Streaming Service to Hike Prices Today's NYT Mini Crossword Answers for Saturday, April 11 Elden Ring: Tarnished Edition for Switch 2 Reignites Controversy Over Game-Key Cards Comcast Adds New StreamSaver Bundles: HBO Max, Disney Plus, Hulu Now Part of the Lineup Samsung's Galaxy Z Fold 7 Just Got a Price Hike, 9 Months After Its Release Microsoft Is Scrubbing the Copilot Name From Some Windows 11 Apps These $299 Glasses Are Like an HDR TV on Your Face Today's NYT Connections: Sports Edition Hints and Answers for April 11, #565 How to Make Sure Your Private Signal Messages Aren't Still Lurking on Your Phone Apple AirPods Max 2 Review: Seemingly Small Changes Make a Substantial Difference
I Kept Accidentally Closing All My Browser Tabs. So I Cha...
Jason Chun · 2026-05-07 · via CNET

I don't have to worry about this annoying keyboard shortcut now that I've remapped it.

Headshot of Jason Chun
Headshot of Jason Chun

Jason Chun Associate Writer

Jason Chun is a CNET writer covering a range of topics in tech, home, wellness, finance and streaming services. He is passionate about language and technology, and has been an avid writer/reader of science fiction for most of his life. He holds a BA from UC Santa Barbara and an MFA from The New School.

3 min read

I've memorized all my favorite Mac shortcuts, so I typically open new tabs, copy text and paste without having to look at my keyboard. Sometimes, though, my finger slips and I hit the wrong key. And there's one instance where that mistake isn't always easy to undo.

By default, Command-W on a Mac closes the current tab in your browser. I use this shortcut often to help me manage my many, many open tabs. (Hey, I need them for emotional support.) But every now and then, my finger strikes Command-Q instead, which performs a very different function.

CNET Tech Tips badge; click here for more

Command-Q closes all my windows and quits the app I'm using. Since the Q and W keys are right next to each other, I've triggered this function by mistake on multiple occasions. Imagine my horror when dozens of my Safari tabs suddenly disappear. 

I can always restart my browser or the app that I accidentally closed. But sometimes I'll find myself logged out of my bank account while I'm in the middle of filling out a form, erasing my progress. Or worse, I'll return to a Google Doc and find that my work wasn't automatically saved.

I can't stop myself from triggering the wrong key combination by mistake. But I've found an easy solution to the problem: Remap my Ctrl-Q keyboard shortcut. Here's how I did it.

How to remap your keyboard shortcuts in MacOS

Remapping is a quick way to make your keyboard shortcuts follow your own preferences. 

Maybe you're a lifelong Windows user navigating a Mac for the first time, and some of the default shortcuts don't feel intuitive. 

Or maybe you're like me, and you have a habit of mistyping certain key combinations. I fixed my Command-Q issue by assigning the shortcut to do something that doesn't interfere with my current app. 

After opening my Mac Settings, I navigated to Keyboard > Keyboard Shortcuts > Accessibility. I toggled on Invert colors. Then, I double-clicked in the key combination field and typed in Command-Q.

screenshot-2026-05-06-at-4-40-37pm.png
Jason Chun/CNET

Voilà. Now, when I type Command-Q, all that happens is my screen's colors invert. It's a little jarring visually, but the function has no effect on the app I'm currently using. I can simply hit the same shortcut again to change colors back to normal.

screenshot-2026-05-06-at-4-39-52pm.png
Jason Chun/CNET

You can remap key combinations or disable them to suit your workflow. In the Keyboard Shortcuts sub-menu, you'll see options to change key combinations for screenshot captures, accessibility features and more. One thing to note: You need to use the Control, Option or Command keys or a combination of those keys for any new shortcuts you want to create.

How to remap your keyboard shortcuts in Windows

Windows users can also remap their default keyboard shortcuts through a free set of system utilities called Microsoft PowerToys. If you don't already have PowerToys, you'll need to install it via the Microsoft Store, GitHub, or a Windows package manager like Chocolatey or Scoop.

power-toys-home.png
Matt Elliott/CNET

Once you have PowerToys installed, open the Settings page, go to Keyboard Manager and select Remap a key or Remap a shortcut

Click the + (plus sign) to assign a new shortcut to a key or combination of keys. Then click OK to save the changes.

powertoys-kb-mgr-window.png
Matt Elliott/CNET

Your machine has many hidden keyboard shortcuts, and not all users will find them intuitive. If you're frequently mistyping a combination of keys, you don't necessarily need to unlearn the habit -- instead, you can make your machine learn yours.

Laptops

Desktops & Monitors

Computer Accessories

Photography

Tablets & E-Readers

3D Printers

Headshot of Jason Chun

JASON CHUN

Associate Writer

Jason Chun is a CNET writer covering a range of topics in tech, home, wellness, finance and streaming services. He is passionate about language and technology, and has been an avid writer/reader of science fiction for most of his life. He holds a BA from UC Santa Barbara and an MFA from The New School.