:w
:w
:w
:w
:w
i
esc
:w
:w
:w
:w
Average day in (neo)vim
81 2 ReplySome of us have PTSD from losing work back in the day. Now it’s just habit.
40 0 Reply:wa!
31 0 ReplyWhen you do this using Word online it be like “chill dude we autosave here, we got you” and I’m like “brother I do not trust you”.
26 1 ReplyWe can optimize this further:
unsatisfied = true while(unsatisfied) { key.dispatch( Keyboard::Ctrl, Keyboard::s ) }
..No, there is no instance where
unsatisfied
changes state26 2 ReplyIt's because the first time doesn't always work. I swear, sometimes it doesn't!
16 0 ReplyCTRL + Shift + S is the real GOAT
13 0 Reply:w!
11 0 ReplyI just can't stand Kate showing me a little orange bar meaning I have not saved the changes yet. The bar must be green! I am a slave to the green bar. The white dot in vscode (I use an open source build) is a bit more tolerable, but whenever I notice it I HAVE to save the file.
10 0 ReplyI really should turn on auto save when vscode loses focus.
10 0 ReplyCtrl+s means "stop the presses" to VT100 terminal emulators and you have to press ctrl+q to resume. Key combinations from a different era.
10 0 ReplyI've never had to think about that with Intellij IDEA. It just works!
11 1 Replysync
sync
sync
9 0 ReplyDude I save almost every time I type anything. It's muscle memory at this point.
9 0 ReplyThis is me in eclipse.
Because I used to do the single save and it failed
8 0 ReplyMFRs are saving each keystroke they have access to.
8 0 ReplyCost/benefit
Manually saving will save a lot more time than it not saving
8 0 Replyyou CTRL+C CTRL+C CTRL+C CTRL+C CTRL+C
I CTRL+X CTRL+V we are not the same.
8 0 ReplyC-x C-s
7 0 Replysync ; sync ; sync ; shutdown -h now
8 1 ReplyI trust auto save in... Souls games.
7 0 ReplyMeanwhile I, a gentleman
nmap <CR> :w<CR>
Binding the Enter key to save the current buffer. 🧐
7 1 ReplyClosing tabs and one of them asks if you want to save changes
6 0 ReplyUsing JetBrains product, I never explicitly save while programming 😅
8 2 ReplyBut then, if you’re forced to develop on microsoft 🤬, it’s late, you’re tired, you’re hand slides just a little to the right (win + d), aaaaand everything is gone, and you’re sitting there looking at you’re background wondering what the hell just happened 🙃.
6 1 Reply:for _ in range(32) | w | endfor
5 0 ReplyI’m the same way. I think it’s just a matter of being conditioned to manually save for the majority of my computing life.
4 0 ReplyThe same can be applied for editors as well
3 0 ReplyOk here's a question I should have asked like way sooner.
In Ubuntu (and similar distros), is there a hotkey to immediately kill the process? Like CTRL-C but harsher.
3 0 ReplyCtrl+s+s+s+s+s
3 0 Replyautosave is no good if you have live reload imo
2 0 ReplyI just do a full rebuild. Saves all files.
2 0 ReplyAuto-saving is the insurance against manually saving failing, which is the insurance against the computer or program failing.
It's insurances all the way down, yet I'm still let down when versioning overwrites my changes.
2 0 ReplyIntellij being a good guy amd autosaving every few seconds. No more worrying about crtl+s.
2 0 ReplyI was never really aware I did this until I had to program something with hot reloading (I don't remember what) and it was so insufferable...
And now my pain is with rustfmt. Just because I saved before filling in the struct fields does not mean I want you to format the struct accordingly!!!
2 0 ReplyExcuse me i think you mean ctrl+c:w
1 0 ReplyMeanwhile, me over here with the self-doubt slamming ctrl-z
1 0 Replyi just store everything in google drive and let chance take over
1 0 ReplyExcept the autosave in BBEdit. I trust that with my life. It’s never lost ANYTHING in 30 years.
1 0 ReplyWhy would you ever use an editor that could lose your work unless you save? Vim users will never understand that.
3 3 ReplyCtrl-S? Are you writing code on Windows? 🤮
7 10 ReplyTell me you use Windows without telling me you use Windows.
Meanwhile I just reboot my Mac without bothering to save anything and everything just restores as it was, even new documents that were never saved. It works so well I don’t even think about it anymore.
5 12 Reply