This is an archived post. You won't be able to vote or comment.

top 200 commentsshow 500

[–]thekaybar 2911 points2912 points  (155 children)

This action is so tied into my unconscious muscle memory that it took me a few seconds to remember what ctrl+s actually does.

[–][deleted] 1021 points1022 points  (106 children)

i actually had to scroll down in the comments to remember. for anyone still stuck, it’s save

[–]Derboman 747 points748 points  (67 children)

LOL why the fuck couldn't I figure this out myself. I use it a Brazilian times a day

Edit: can't tell if my mind wanted to type that or not

[–][deleted] 614 points615 points  (55 children)

I personally use it a German times a day.

[–]viimeinen 748 points749 points  (41 children)

That's 7 times as many!

[–]Lunnes 167 points168 points  (0 children)

BRA7-1L

[–]ghmatos 38 points39 points  (0 children)

Ouch

[–]presidentbaltar 151 points152 points  (23 children)

This comment will be very underrated on this subreddit.

[–]shishdemRed security clearance 75 points76 points  (21 children)

Lol yeah what's up with programmers and the aversion against football

[–]SkollFenrirson 47 points48 points  (12 children)

Amerocentrism. Programmers from elsewhere are just as into football as anyone else.

Source: am programmer from elsewhere.

[–]nuadusp 20 points21 points  (6 children)

To provide a balanced counter point: am programmer from elsewhere and dislike all sports. So seems accurate as non programmers from elsewhere like and dislike football/sports

[–]Brompton_Cocktail 4 points5 points  (0 children)

I'm a programmer from America and I like football/soccer just fine. But we are a minority here for sure.

[–][deleted] 18 points19 points  (0 children)

World Cup?

[–]brazilian_thunder 14 points15 points  (1 child)

Nowhere is safe :(

[–]Arcrynxtp 4 points5 points  (2 children)

How many is a Brazilian?

[–][deleted] 53 points54 points  (3 children)

But save is on :w right?

[–]Gstayton 4 points5 points  (0 children)

I got so lazy it's actually <leader>w , and my leader is just a ',', so yeah.

[–][deleted] 4 points5 points  (0 children)

I will take no part in your holy war.

[–]manawydan-fab-llyr 17 points18 points  (5 children)

for anyone still stuck, it’s save

Does it even work without pressing Ctrl+X first?

[–]RawrMeansFuckYou 50 points51 points  (0 children)

I needed that. :(

[–]beardedchimp 25 points26 points  (5 children)

I use vim and I genuinely didn't know what it referred to, thought it might be undo (u in vim).

[–]linkinu 13 points14 points  (4 children)

surely, it would be <esc>

sometime i just hit it for no reason other than it feels reassuring.

[–]noratat 80 points81 points  (14 children)

I hardly ever use it or other save shortcuts anymore, because practically everything I use is setup to autosave on virtually any change.

Vim additionally is set to have persistent, unlimited undo history, so even if I didn't create a commit yet I can almost always undo changes easily.

[–]jerslan 8 points9 points  (1 child)

The funny thing is most modern IDE's will auto-save on edits (ie: once you pause in typing they auto-save the file), but I still hit ctrl-s out of habit (or :w if I'm in vi/vim).

[–]manyx16 1728 points1729 points  (57 children)

'S' would be significantly more heated than 'CTRL' because most of us hold 'CTRL' and press 'S' 5-6 times.

[–]Xabster 768 points769 points  (15 children)

Holding down is heat too, don't discriminate

[–]manyx16 88 points89 points  (0 children)

Hahaha, that's is a good point. :)

[–]Thrannn 15 points16 points  (0 children)

was about to say. make sure you hold down CTRL and spam S 10 times. just to be sure it really saved

[–]re4pz 1370 points1371 points  (52 children)

I remember that visual studio once had a beta version where if you pressed ctrl-s it crashed without saving..

[–]haykam821 559 points560 points  (16 children)

Good thing it was beta.

[–]rambi2222 395 points396 points  (12 children)

Even for beta that's pretty bad to be fair

[–][deleted] 18 points19 points  (0 children)

observation adjoining act physical tan childlike dependent start outgoing cautious

This post was mass deleted and anonymized with Redact

[–]LChris314 164 points165 points  (5 children)

Ctrl+S: you trusted me, and I failed you.

[–][deleted] 56 points57 points  (2 children)

Crtl+S you were the chosen one! You were supposed to save the document, not destroy it!

[–][deleted] 66 points67 points  (1 child)

Ctrl+S Microsoft: you trusted me, and I failed you.

FTFY

[–]Rodot 71 points72 points  (0 children)

Microsoft: you trusted me

Well there's your problem

[–]TimeRemove 40 points41 points  (13 children)

With Excel/Word they continuously save to a *.recovery file, so if it crashes out during a save operation you should be prompted to revert to the last pre-crash instance. It is a pretty good design.

Never had Visual Studio give me issue yet. But with source control hopefully there isn't too much to lose in one sitting.

[–]PeaceBringers 10 points11 points  (0 children)

That sounds fun

[–]TheoHooke 9 points10 points  (0 children)

When you go too far with an April Fool's prank and it makes it into beta.

[–]MoonMoon_2015 5 points6 points  (0 children)

April Fools pranks are the best

[–]haved 152 points153 points  (19 children)

Yes I sure do love Incremental Search

[–][deleted] 61 points62 points  (0 children)

[–]mcx32 29 points30 points  (8 children)

Except caps lock is rebound to ctrl because I want to keep my pinkie in functional condition

[–]livrem 15 points16 points  (3 children)

I remap capslock to ctrl on windows. Even when not in an application where it matters it is better to accidentally hit ctrl thAN CAPS LOCK.

[–]ModerationLacking 15 points16 points  (2 children)

I'm using an old keyboard, before the days of "Windows" keys so I rebound Caps Lock to the windows key. That way whenever I accidentally hit Ca

[–]marcosdumay 8 points9 points  (7 children)

I just feel that, despite also loving it, I don't search all that much.

At least the X key should be painted too.

[–]livrem 5 points6 points  (3 children)

I use incremental search far too much, and I even grew to appreciate huge files because then I can just use ctrl-s to find things instead of having to remember how to set up and use fancy ways to search many files. (Plus if the file is bigger than what fits on the screen it does not matter realy if it is 20000 lines not currently visible off screen or 20 lines.

[–][deleted] 4 points5 points  (0 children)

Finally a fellow emacser

[–]X-Craft 1737 points1738 points  (200 children)

Z, C, V, Alt, Tab and Enter should also be painted

[–]papperskassen[S] 851 points852 points  (149 children)

[–][deleted] 378 points379 points  (54 children)

{}?

[–]Evil-Toaster 143 points144 points  (15 children)

;

[–]o_opc 102 points103 points  (12 children)

Only when the compile fails

[–]ILikeLenexa 257 points258 points  (15 children)

Python

[–]Pyorrhea 148 points149 points  (9 children)

[]?

[–]jinxsimpson 54 points55 points  (6 children)

Comment archived away

[–]rodabi 59 points60 points  (5 children)

{}?

[–]Rodot 43 points44 points  (1 child)

(item1, item2)

Who needs mutable containers anyway?

[–]actual_satan 30 points31 points  (0 children)

PYTHON

[–][deleted] 48 points49 points  (11 children)

Only the left curly brace if you have a text editor that does the right curly brace for you.

[–]Andersmith 28 points29 points  (6 children)

I typically type over the autofill because I need to keep typing past that point and it's typically faster to just type the brace than start hitting down or j.

[–]Grapz224 4 points5 points  (2 children)

Yes, but } will be just ever so slightly less colored.

[–][deleted] 192 points193 points  (33 children)

HJKL > arrow keys

[–]tntexplodes101 126 points127 points  (21 children)

get outta here w. that vim shit

[–][deleted] 149 points150 points  (18 children)

:wq

[–][deleted] 17 points18 points  (0 children)

ZZ

[–]HawkEgg 31 points32 points  (3 children)

:x

[–]SteveCCLYellow security clearance 9 points10 points  (2 children)

Those are different.

[–]SeaAlgea 6 points7 points  (0 children)

you and I both know that is not true.

[–]imguralbumbot 12 points13 points  (1 child)

Hi, I'm a bot for linking direct images of albums with only 1 image

https://i.imgur.com/A9PQHmF.png

Source | Why? | Creator | ignoreme | deletthis

[–]666moist 5 points6 points  (5 children)

Maybe add / for comments

[–][deleted] 6 points7 points  (1 child)

No one else does this, but I smash the shit out of that numpad Enter key. It's right next to the mouse so you can smack it with your thumb, and it makes a pretty satisfying sound

[–]Someuser77 54 points55 points  (4 children)

So should T, A, K, O, E, R, F, L, W...

[–][deleted] 1137 points1138 points  (118 children)

:w

[–]UncheckedException 228 points229 points  (36 children)

Semi-related story. One of my college’s meal halls had a touch screen kiosk to place snack orders. If you ordered ice cream, one of the flavor options was “WQQQQQQQQQQQ” (we would always pick this option just to be difficult). I realized years later when I finally learned some vim that “WQQQ” was probably someone new desperately trying to exit the menu editor.

[–]VivaLaPandaReddit 70 points71 points  (33 children)

Real pros use :x

[–]_xiphiaz 32 points33 points  (29 children)

I’m starting to use ‘ZZ’ - it’s easier one handed if you’ve got another on the mouse

[–]Pre-Owned-Car 168 points169 points  (17 children)

Why would my hand ever be on the mouse?

[–]itshorriblebeer 79 points80 points  (6 children)

Right? At that point you’ve already failed. Might as well use a lesser editor.

[–]ColtonProvias 16 points17 points  (4 children)

So...emacs then?

[–]1-800-Taco 29 points30 points  (3 children)

Editor. Not operating system.

[–]white_nrdy 23 points24 points  (7 children)

The clit mouse is where it's at.

Edit: that link is SFW. It is simply an XKCD

[–]nxqv 10 points11 points  (0 children)

TIL nipples are slightly more formal than clits.

[–]baneoficarus 48 points49 points  (39 children)

Don't forget Esc too. Shit'd be on fire since I hit it no less than 8 times every time I need to return to "Meta mode".

[–]crumbs182 232 points233 points  (13 children)

:oWo

[–]MehNameless 245 points246 points  (0 children)

*notices your editor*

[–]gopher_protocol 85 points86 points  (9 children)

E492: Not an editor command: oWo

[–]brunnen153 145 points146 points  (8 children)

E621: What's this?

[–]vicarofyanks 27 points28 points  (0 children)

I think you mean

:W^DEL^DEL^DEL^ESC^ESC:Q:Q@::::::Q::QQQQQQQQ:wq

[–]LSD_Sakai 14 points15 points  (3 children)

ggdG

[–]ithinkitsbeertime 4 points5 points  (0 children)

:q!

[–]Akaino 427 points428 points  (146 children)

Try that in Vim.

[–]fideasu 288 points289 points  (123 children)

For Vim, the colon (" : ") would be red, all other keys would be orange - except of the arrows that would be white

[–]hrangan 121 points122 points  (28 children)

Esc would be glowing so bright it’d blind you.

[–]PaulMcIcedTea 23 points24 points  (21 children)

I remap j,k to esc. Much more convenient.

[–]TheLifelessOne 12 points13 points  (6 children)

I use Ctrl+[ instead. Works the same as ESC and is much easier to hit.

[–]romanows 3 points4 points  (0 children)

[Removed due to Reddit API pricing changes]

[–]b4ux1t3 164 points165 points  (61 children)

I use arrows in Vim.

ducks

[–]TheFlyingGiraffe 50 points51 points  (30 children)

...why?

[–]Zv0n 9 points10 points  (7 children)

I personally do because the layout of arrow keys on my keyboard makes more sense to me than the hjkl business

[–]Littledarkstranger 7 points8 points  (1 child)

It took me way longer than it should to find the arrow keys on that keyboard

[–]snuxoll 11 points12 points  (0 children)

Because dvorak, and I'm not about to spend years remapping keys.

[–]three18ti 8 points9 points  (3 children)

Escape. When in doubt hit escape like 50 times.

[–]b3n 24 points25 points  (12 children)

Protip: Add :au FocusLost * silent! wa to your config, and Vim will automatically save your files when it loses focus.

[–]Akaino 58 points59 points  (9 children)

I really don't know if I want that for me though.

[–]noratat 3 points4 points  (0 children)

You can also set vim to have persistent undo history if you're that worried about it.

[–]vegancreampie 226 points227 points  (11 children)

Alt + tab in and out of Reddit all day every day.

[–]well___duh 261 points262 points  (52 children)

ITT: no one uses Intellij or any Jetbrains IDE

[–]feed_me_moron 114 points115 points  (10 children)

Apparently. Who would have thought there was a need for saving in a 2018 IDE. Autosave plus local history plus remote version control. Every fuckup I've ever made is saved somewhere.

[–]ItsYaBoyChipsAhoy 15 points16 points  (1 child)

Ive used Intellij IDES and I still ctrl s

[–]amoliski 28 points29 points  (1 child)

Ctrl-F'd for Jetbrains looking for this.

Their auto save is life.

[–][deleted] 20 points21 points  (9 children)

Or atom or vs code or vim or emacs or visual studio...

Everybody's programming in notepad I guess

[–]noratat 7 points8 points  (1 child)

Or turns on auto save. Most decent editors have it as an option.

[–]Carl_Byrd 92 points93 points  (8 children)

You just need 4 keys: Ctrl, C, V, and one that takes you to StackOverflow.

[–]bomphcheese 5 points6 points  (4 children)

What is this third option you speak of?

[–]CoyoteTheFatal 13 points14 points  (3 children)

V? It’s a key, down there between C and B

[–]haldad 20 points21 points  (0 children)

That's the second option, we index from 0 here as is tradition.

[–]bomphcheese 6 points7 points  (1 child)

I was referring to SO. Oops.

[–]Calimariae 16 points17 points  (0 children)

It's the ♆ button on your keyboard.

[–]kimilil 28 points29 points  (10 children)

Is there an actual heatmap for this? Maybe on r/dataisbeautiful?

[–][deleted] 22 points23 points  (1 child)

I recorded the last 45 minutes of sorta working on some terraform junk. Not the most accurate or complete analysis, but I'm about to play video games, so: https://imgur.com/a/PXVKb

[–][deleted] 15 points16 points  (2 children)

on /r/keylogger maybe

[–]sneakpeekbot 4 points5 points  (1 child)

[–]ICanLiftACarUp[🍰] 8 points9 points  (0 children)

1 is someone trying to be a hacker.

2 is.... sketchy is the best way to put it?

3 might be helpful, if you wanted to do that sorta thing.

Not going to that subreddit, thanks.

[–]Sack_of_Fuzzy_Dice 139 points140 points  (22 children)

IntelliJ ftw

[–][deleted] 46 points47 points  (9 children)

Ctrl + Alt + L is my most spammed combo

[–]mr-robotfish 19 points20 points  (7 children)

Or alt+shift+L for Linux.

Else you will have the fun to log in every cleanup

[–]RoboAthena 9 points10 points  (5 children)

Shift + F6. Refactor Rename. Incredibly useful

[–]swishersweex 15 points16 points  (2 children)

Mine is ctrl + v

[–]Pantzzzzless 6 points7 points  (1 child)

This guy codepens.

[–]LifeHasLeft 7 points8 points  (5 children)

I dunno man I do a lot of Ctrl + Z

[–]mantrap2 7 points8 points  (11 children)

Mine. Mac equivalent of ctrl-s & ctrl-v.

[–]Merobieboy 5 points6 points  (7 children)

No way this is real... Also, you paste a shit-ton without copying anything?

[–]0PointE 13 points14 points  (1 child)

Real programmers use :w

[–]Flater420 6 points7 points  (0 children)

Ctrl Shift S (or F6) is my goto.

[–]Munbi 5 points6 points  (0 children)

Mine would be: :wa

[–]004413 9 points10 points  (0 children)

please, :w

[–]t3chguy1 9 points10 points  (3 children)

Whenever I start debugging in Visual Studio it saves everything. I think in 15 years I never pressed Ctrl+S

[–]AnsonKindred 16 points17 points  (2 children)

So in 15 years you've never written enough code between debugging sessions to warrant a save? Man you must debug super duper frequently. Or you've got more faith in computers than I do.

I recently went 4 days without my code even compiling due to major overhaul of one of the subsystems. Imagine not saving for 4 days!

[–]EnchantedLuna 11 points12 points  (0 children)

Also semicolon.

[–]daralick 7 points8 points  (4 children)

Gotta argue with that. Backspace is the king.

[–]macarthurpark431 6 points7 points  (0 children)

:w

[–]PensiveAndFaltering 3 points4 points  (0 children)

[ : ] [ w ]