:w
:w
:w
:w
:w
i
esc
:w
:w
:w
:w
Average day in (neo)vim
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
:w
:w
:w
:w
:w
i
esc
:w
:w
:w
:w
Average day in (neo)vim
You can use :wq only once
So choose wisely. All other editor instances must remain open forever.
I use quake style terminals, and often start writing a file and completely forget about it and turn off the computer, and only remember what i left behind when i find the random recovery files around, so :w a lot is quite useful for me.
Quake? The FPS? I'm confused, though I knew a little about Linux
Yes, on classic fps you could spaw a console that will drop down from the top os the screen, some terminal emulators allow you to do that.
I like it because then i have the terminal always open that i just draw from the top of the screen with a keypress
On KDE i do that with Yakuake, and on gnome with tilix
Some of us have PTSD from losing work back in the day. Now it’s just habit.
When 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”.
You are wise beyond your years.
We can optimize this further:
unsatisfied = true
while(unsatisfied) {
key.dispatch(
Keyboard::Ctrl,
Keyboard::s
)
}
..No, there is no instance where unsatisfied
changes state
It's because the first time doesn't always work. I swear, sometimes it doesn't!
Ctrl + C literally doesn't work at times, it drives me crazy. It might be due to some shitty applications and websites overriding it or adding complexity (Like copying not only the text but additional information).
I'm often 100% sure I copied the text, change the window and an old clipboard entry gets pasted.
God I hate this so much. It's especially frustrating on mobile where it takes like thirty seconds to try to get the right part of the text copied and use the fucking magnified blue dots... Ugh.
I 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.
Ctrl+s means "stop the presses" to VT100 terminal emulators and you have to press ctrl+q to resume. Key combinations from a different era.
I've never had to think about that with Intellij IDEA. It just works!
I really should turn on auto save when vscode loses focus.
Dude I save almost every time I type anything. It's muscle memory at this point.
Cost/benefit
Manually saving will save a lot more time than it not saving
This is me in eclipse.
Because I used to do the single save and it failed
MFRs are saving each keystroke they have access to.
Hell sometimes I'll save just after having thought about writing something
you CTRL+C CTRL+C CTRL+C CTRL+C CTRL+C
I CTRL+X CTRL+V we are not the same.
I trust auto save in... Souls games.
sync ; sync ; sync ; shutdown -h now
Using JetBrains product, I never explicitly save while programming 😅
Closing tabs and one of them asks if you want to save changes
Meanwhile I, a gentleman
nmap <CR> :w<CR>
Binding the Enter key to save the current buffer. 🧐
But 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 🙃.
Dude, win + d fucks, and it fucks hard. Just press it again if you can't handle
:for _ in range(32) | w | endfor