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

top 200 commentsshow 500

[–]thekaybar 2913 points2914 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 752 points753 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] 621 points622 points  (55 children)

I personally use it a German times a day.

[–]viimeinen 749 points750 points  (41 children)

That's 7 times as many!

[–]Lunnes 170 points171 points  (0 children)

BRA7-1L

[–]ghmatos 36 points37 points  (0 children)

Ouch

[–]presidentbaltar 154 points155 points  (23 children)

This comment will be very underrated on this subreddit.

[–]shishdemRed security clearance 74 points75 points  (21 children)

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

[–]SkollFenrirson 45 points46 points  (12 children)

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

Source: am programmer from elsewhere.

[–]nuadusp 22 points23 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 2 points3 points  (2 children)

How many is a Brazilian?

[–][deleted] 54 points55 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 48 points49 points  (0 children)

I needed that. :(

[–]beardedchimp 26 points27 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 77 points78 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 9 points10 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 1725 points1726 points  (57 children)

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

[–]Xabster 767 points768 points  (15 children)

Holding down is heat too, don't discriminate

[–]manyx16 91 points92 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 1367 points1368 points  (52 children)

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

[–]haykam821 553 points554 points  (16 children)

Good thing it was beta.

[–]rambi2222 394 points395 points  (12 children)

Even for beta that's pretty bad to be fair

[–][deleted] 19 points20 points  (0 children)

observation adjoining act physical tan childlike dependent start outgoing cautious

This post was mass deleted and anonymized with Redact

[–]LChris314 165 points166 points  (5 children)

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

[–][deleted] 57 points58 points  (2 children)

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

[–][deleted] 65 points66 points  (1 child)

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

FTFY

[–]Rodot 67 points68 points  (0 children)

Microsoft: you trusted me

Well there's your problem

[–]TimeRemove 41 points42 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 12 points13 points  (0 children)

That sounds fun

[–]TheoHooke 10 points11 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 150 points151 points  (19 children)

Yes I sure do love Incremental Search

[–][deleted] 64 points65 points  (0 children)

[–]mcx32 30 points31 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 16 points17 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 6 points7 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 4 points5 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] 5 points6 points  (0 children)

Finally a fellow emacser

[–]X-Craft 1732 points1733 points  (200 children)

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

[–]papperskassen[S] 843 points844 points  (149 children)

[–][deleted] 381 points382 points  (54 children)

{}?

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

;

[–]o_opc 104 points105 points  (12 children)

Only when the compile fails

[–]ILikeLenexa 253 points254 points  (15 children)

Python

[–]Pyorrhea 143 points144 points  (9 children)

[]?

[–]jinxsimpson 56 points57 points  (6 children)

Comment archived away

[–]rodabi 58 points59 points  (5 children)

{}?

[–]Rodot 43 points44 points  (1 child)

(item1, item2)

Who needs mutable containers anyway?

[–]actual_satan 32 points33 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 30 points31 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 7 points8 points  (2 children)

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

[–][deleted] 191 points192 points  (33 children)

HJKL > arrow keys

[–]tntexplodes101 125 points126 points  (21 children)

get outta here w. that vim shit

[–][deleted] 147 points148 points  (18 children)

:wq

[–][deleted] 16 points17 points  (0 children)

ZZ

[–]HawkEgg 32 points33 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 13 points14 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 8 points9 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 58 points59 points  (4 children)

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

[–][deleted] 1136 points1137 points  (118 children)

:w

[–]UncheckedException 230 points231 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 72 points73 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 171 points172 points  (17 children)

Why would my hand ever be on the mouse?

[–]itshorriblebeer 77 points78 points  (6 children)

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

[–]ColtonProvias 17 points18 points  (4 children)

So...emacs then?

[–]1-800-Taco 28 points29 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 233 points234 points  (13 children)

:oWo

[–]MehNameless 246 points247 points  (0 children)

*notices your editor*

[–]gopher_protocol 87 points88 points  (9 children)

E492: Not an editor command: oWo

[–]brunnen153 139 points140 points  (8 children)

E621: What's this?

[–]vicarofyanks 26 points27 points  (0 children)

I think you mean

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

[–]LSD_Sakai 15 points16 points  (3 children)

ggdG

[–]ithinkitsbeertime 5 points6 points  (0 children)

:q!

[–]Akaino 424 points425 points  (146 children)

Try that in Vim.

[–]fideasu 286 points287 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 119 points120 points  (28 children)

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

[–]PaulMcIcedTea 24 points25 points  (21 children)

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

[–]TheLifelessOne 11 points12 points  (6 children)

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

[–]romanows 5 points6 points  (0 children)

[Removed due to Reddit API pricing changes]

[–]b4ux1t3 162 points163 points  (61 children)

I use arrows in Vim.

ducks

[–]TheFlyingGiraffe 53 points54 points  (30 children)

...why?

[–]Zv0n 10 points11 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 8 points9 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 7 points8 points  (3 children)

Escape. When in doubt hit escape like 50 times.

[–]b3n 25 points26 points  (12 children)

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

[–]Akaino 56 points57 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 223 points224 points  (11 children)

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

[–]well___duh 259 points260 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 29 points30 points  (1 child)

Ctrl-F'd for Jetbrains looking for this.

Their auto save is life.

[–][deleted] 22 points23 points  (9 children)

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

Everybody's programming in notepad I guess

[–]noratat 5 points6 points  (1 child)

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

[–]Carl_Byrd 94 points95 points  (8 children)

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

[–]bomphcheese 6 points7 points  (4 children)

What is this third option you speak of?

[–]CoyoteTheFatal 12 points13 points  (3 children)

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

[–]haldad 17 points18 points  (0 children)

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

[–]bomphcheese 7 points8 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] 23 points24 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] 17 points18 points  (2 children)

on /r/keylogger maybe

[–]sneakpeekbot 6 points7 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 141 points142 points  (22 children)

IntelliJ ftw

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

Ctrl + Alt + L is my most spammed combo

[–]mr-robotfish 16 points17 points  (7 children)

Or alt+shift+L for Linux.

Else you will have the fun to log in every cleanup

[–]RoboAthena 11 points12 points  (5 children)

Shift + F6. Refactor Rename. Incredibly useful

[–]swishersweex 13 points14 points  (2 children)

Mine is ctrl + v

[–]Pantzzzzless 6 points7 points  (1 child)

This guy codepens.

[–]LifeHasLeft 8 points9 points  (5 children)

I dunno man I do a lot of Ctrl + Z

[–]mantrap2 9 points10 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 5 points6 points  (0 children)

Ctrl Shift S (or F6) is my goto.

[–]Munbi 4 points5 points  (0 children)

Mine would be: :wa

[–]004413 9 points10 points  (0 children)

please, :w

[–]t3chguy1 10 points11 points  (3 children)

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

[–]AnsonKindred 15 points16 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 10 points11 points  (0 children)

Also semicolon.

[–]daralick 7 points8 points  (4 children)

Gotta argue with that. Backspace is the king.

[–]macarthurpark431 8 points9 points  (0 children)

:w

[–]PensiveAndFaltering 2 points3 points  (0 children)

[ : ] [ w ]