- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
vim something.log
esc
quit
exit
ctrl+x
ctrl+q
shushejehojwhatiwibaln):gufht;vfgs+_&f
reboot
nano something.loggit güdshushejehojwhatiwibaln
fond memories of this distro
Why would a text editor use a key like q to quit, obviously quit is <shift> + ZZ
We’re just quitting without writing? Living very dangerously aren’t we?
It is an emergency exit not a normal exit.
When I accidentally edit a very important file very incorrectly and don’t know what it looked like before
The real emergency exit will leave swap files
ctrl+z, kill %1
My initial take on the sticker was the whole “fire exit git commit git push;” I do see this other perspective now
It’s advice for how most people end up in vim in the first place.
git commit(without -m)
how to quit vim
- pull computer cord out of wall
Now it’s just running on battery
Works as long as you didn’t put something silly in your nvim config like
vim.keymap.set("ca", "q!", "echo 'not so fast!'")I believe that’s Vim for “Beam us out, Mr. Scott”
On german QWERTZ keyboards, you need to use shift to make : and !.
On US ones as well, I think they just put the relevant key-symbols and excluded the combination press as they can be assumed.
I have a custom keyboard with a QMK firmware. I enabled something called auto shift. It’s the best. Just hold down the key you want shifted, and it auto shifts. I settled for enabling this for capital letters and symbols. So comfortable not to have to press the shift key.
So you hold down the first letter of each sentence longer so that it capitalizes rather than hold shift? That feels like it would completely mess with my flow when typing. Shift just happens naturally for me and I don’t register I’m pushing it.
Yea, this would be super slow.
Exactly like that, yes. Or 1 for exclamation point, or 2 for @. Just like on a phone keyboard, with tap and hold for symbols and numbers and such.
I’ve had this keyboard for a few months now and I didn’t enable it exactly for the reasons you mention.
I enabled it a few weeks ago now just to try it, and wow, I though I didn’t notice myself pressing the shift key, that it “came naturally”. Boy was I wrong. Now whenever I have to use the shift key it feels so cumbersome lol. Typing has become so comfortable now.
I use a ZSA Voyager for reference.
What if you wanna repeat a character?
I spam the key. But that is such an extremely rare case that it’s worth the trade-off. The firmware also does allows you to add a key to toggle auto shifting on and off, so I could just add that if I want, but I don’t see the need.
If I need to repeat a character many times in a text editor, I’d just use the features of the editor to do so. Helix or Neovim has you covered for repeating characters thousands of times and copying it to the clipboard with a handful of keystrokes if you wish. But what an edge case though.
For double letters, I just double tap like you would normally when typing. 👍
How does it work in games, like holding W?
Does this break games? Where in the input pipeline is the long press converted to shift? Being in the firmware implies that it’s in the keyboard itself, so even games wouldn’t be able to see that you’re just holding W to go forwards.
Here in Tarzania we hold the superior and elusive ! key
That’s basically all keyboard layouts.
Same on Dvorak.
Though the custom coder’s Dvorak I use while programming has a dedicated ! key. Shift still needed for : though.
Common French W. AZERTY proves itself superior once again.
Thank you very much. I sent this to my coworker who expressed interest in switching to vim :)
ZZ for the win.
[Esc] [Z] [Z]
Or just ZZ for me since I’m rarely in insert mode (I just press esc quickly after making an edit out of habit).
ZZTop could not be reached for comment
Would it be
q a !?You all exit your editor? How you do the rest of your computing?
/s with ♡ from an Emacs fan.
Emacs really is an excellent desktop environment
Or just ctrl-z to get out of it and “fg” to get back. :)
ctrl-z
$ killall vimJust buy a new computer.
Just alt+F4, you didn’t need to edit that file anyways
Where can I buy some of these please?
deleted by creator
Ctrl+] Shift+ZZ
Amateurs.













