DEV Community

MurrayVarey
MurrayVarey

Posted on

What's Been Your Biggest "Why Didn't Someone Tell Me" Discovery?

Have you ever made a discovery that blew your mind (in a good way)? Something that quickly solved a nagging problem, or perhaps something that you'd been doing wrong for years?

Tech and/or non-tech answers are all good.

Top comments (52)

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

For me, it was discovering that Ctrl + Backspace deletes an entire word. It completely changed how I type.

I was so excited -- I told everyone I knew, thinking I would change the world ...
Only one person cared. But he still thanks me to this day.

Hopefully yours is better than mine!

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
zerquix18 profile image
I'm Luis! \^-^/ •

I discovered it too! And now I use it a lot. Rather than correcting a mispelled word, I just delete it entirely and re-write it. It's way faster.

Also: CTRL+SHIFT+Left Arrow will select an entire word and CTRL+Left arrow will jump.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Exactly, it means you stay in your typing flow. Before -- after hammering Backspace 12 times to delete a word -- I'd have forgotten what I was actually trying to say.

Also, it's really satisfying to see a typo just disappear, like you're swatting it away.

I love all those entire word select shortcuts. They save so much time.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
moopet profile image
Ben Sinclair •
  • sidles up *

Psst. Have you tried vim?

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
murrayvarey profile image
MurrayVarey •

Ha! Not for a loooong time. Maybe I'm ready.

What I like most about CTRL + Backspace is that it works all over the place -- from Word to Google Docs. In theory my mum could use it (if she could be bothered).

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
moopet profile image
Ben Sinclair •

On the Mac I use for work, in iTerm it deletes the previous letter, same as ^H. In this textarea I'm using to type this reply it does... nothing.
That's partially just down to it the oddities of MacOS - a lot of keyboard shortcuts are weird on Mac, like ctrl/alt left and right arrow, or ctrl-R or alt-dot. You have to go through a process of setting it up on a new machine, because most of these are broken out the box.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
murrayvarey profile image
MurrayVarey •

Ah, I'm not a Mac user, so that's good to know. According to @achu it's ⌘ + Delete on a Mac.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
moopet profile image
Ben Sinclair •

Yeah, that does nothing on mine either :)

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
murrayvarey profile image
MurrayVarey •

Oh dear. This might be why I failed to change the world.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
lifesandwich profile image
LifeSandwich •

on MacOS its OPTION + DELETE

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
moopet profile image
Ben Sinclair •

As I mentioned, that does nothing on my Mac.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
achu profile image
Achu Abebe •

On Mac, that's ⌘ + Delete

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
jrwren profile image
Jay R. Wren •

that does teh whole line. option+delete does a word.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
kuerbisulme profile image
Simon •

Wow, I didn't know that. I used CTRL + Shift + Left + Backspace šŸ¤¦ā€ā™‚ļø Thanks for that!

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Happy to help!

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
codemouse92 profile image
Jason C. McDonald •

I love that too, although I too often forget it's there.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
peter profile image
Peter Kim Frank • • Edited

When using your internet browser, using CMD + L jumps your focus to the address bar. It's really useful, especially when referencing information within the current tab while typing into the address bar.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
thatblairguy profile image
That Blair Guy •

On Mac,Cmd + L will take you to the address bar. But beware, if you switch platforms a lot, WindowsKey + L locks the system and you have to login again to unlock. (On Windows, use Alt + D.)

Context, using an external keyboard, the Command and Windows keys are in the same location....

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
imcheesecake profile image
Freddie •

F6 does the same thing!

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Awesome, I didn't know this. Will have to give it a try.

I'm becoming a keyboard shortcut nut. It makes talking to normal people quite challenging ...

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
pareshjoshi profile image
Paresh •

I used F6 for this.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
vinmay profile image
Vinmay Nair •

I found out that Ctrl + Shift + T opens the windows that you had previously closed. As you go on doing it, it will go back in history sequentially and open the windows you had closed in the same way. I was really excited when I discovered it !

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Ah man, I could have done with this one yesterday! Thank you!

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
chayandatta profile image
Chayan Datta • • Edited

For me, when writing something -> to select more than one word or line, without dragging the mouse pointer the whole time,

just keep the typing bar on starting point and click the ending point with a shift

it just changes everything

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Did I know this? Honestly, I'm not sure. I'm certainly going to start using it now. Thanks!

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
damjand profile image
Damjan Dimitrov •

That dragging the middle mouse button in VSCode lets you add multiple cursors on different lines and/or select just a portion of a text on multiple lines at the same time.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Yeah, that's a nice one. Did you see @peacefullatom 's Visual Studio Productivity post yesterday? Well worth a read.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
peacefullatom profile image
Yuriy Markov •

Here's one more trick. Select portion of text and press Ctrl + Shift + L - this will select all fragments within opened document, this you can edit them all at once šŸ™ƒ

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
amehmeto profile image
amehmeto •

The discovery that I could escape the debugging hell with TDD.

blog.imagicle.com/test-diven-devel...

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
murrayvarey profile image
MurrayVarey •

Great link -- that really lays TDD out clearly. It can be a tricky sell sometimes.

Out of interest, was your TDD discovery a lightbulb moment or more of a slow realisation?

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
amehmeto profile image
amehmeto • • Edited

A wonderful lightbulb. Up to this day, I don't understand why it is not taught from day 1.
I also don't understand why it's not the standard way of doing code''.

Sure there's no one way of coding, but from a junior perspective, TDD is so structuring.

'' I guess that's because developers darwinism : only those who learned to love debugging survived to become professionals.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026 Thread
 
murrayvarey profile image
MurrayVarey •

Up to this, I don't understand why it is not taught from day 1

It may well come. I have a similar feeling about source control. Who wouldn't want a great whack off undo button from day one?

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
thatblairguy profile image
That Blair Guy •

Huge thing for me was learning how to put the output from the command line directly to the clipboard without going through an intermediate temp file.

Windows: some_command | clip
MacOS: some_command | pbcopy

(For Linux, I believe xclip is popular, but I'm not completely sure.)

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
vonheikemen profile image
Heiker • • Edited

Navigating the shell command history with the arrow keys, I was so happy when I read a tweet about the Ctrl-r shorcut. It was even better when I found out fzf had a keybinding that does the same thing.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
abrahambrookes profile image
Abraham Brookes •

Being able to load keymappings into VScode - I come from Notepad++ and love my ctrl+d to duplicate and ctrl+shift+up/dn arrows to move lines about. If you're using VScode and you've come from another editor, check the plugins! There's very likely a keymapping plugin to make the whole way more familiar.

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
craicerjack profile image
Carlos •

This is what enabled me to move to vscode without losing my mind. Moved from Sublime and moved all my keymappings over

šŸ”„ Jadwal & Hasil: murrayvarey/what s been your biggest why didn t someone tell me discovery gpg - Info Live Streaming 2026
 
robinscodeongit profile image
robin •

For me the most recent thing was CTE's (Common Table Expressions), best way to make SQL readable, instead of ugly encapsulation of every sub select you can give it nice names and easy structure.
here an example:

with my_cte as
(
select id, t.* from some.table t where
),
2nd_select as
(
select fk_id as id, t.* from awesome.table t
)
Select * from my_cte a
Inner join 2nd_select b on a.id = b.id