How to exit vim reaches 1M views on stack overflow
-
I wonder how this compares to the same question for bonzi buddy.
-
-
Prosecutor General Natalya Poklonskaya is not amused
https://cdn1.img.sputniknews.com/images/103951/66/1039516682.jpg
-
I keep ending up in the Vim macro recorder when I mistype
:wq
. Because I have no idea how to properly exit it I just mashESC-CTRL-Cwq:ESC
at random until it exits.My list of Vim macros reads like this:
:wq wqwq q :w : wq:q :wq
-
@El_Heffe
I think I'm going to be naughty
-
@El_Heffe said in How to exit vim reaches 1M views on stack overflow:
Right below that graph it says:
It looks like developers in Ukraine, Turkey and Indonesia are getting stuck in Vim quite a bit: it makes up a larger portion of their Vim questions than in any other country. In contrast, in China, Korea and Japan the fraction going to this question is one-tenth as much. That might indicate that when developers in these countries enter Vim, they usually meant to do so, and they know how to get out of it.
Or it might indicate that vim is hardly ever installed on any system in China (either one), Korea, or Japan. I suspect that’s the real reason, given that, as far as I know, MS Windows is the OS of choice in the region on desktop computers, going by posts on this site even when developing for smartphones etc.
-
@Gurth said in How to exit vim reaches 1M views on stack overflow:
Or it might indicate that vim is hardly ever installed on any system in China (either one), Korea, or Japan.
All Korean programmers I know are VIM fanatics, so I'd doubt that.
-
@Gurth
OR StackOverflow is just not high in their results.
-
Emacs is betterest
-
I'm disappointed that "howtoexitvim.com" is a parked domain
-
Then someone registered http://howtoexitvim.xyz and put ":q" instead of ":q!"
-
Also
https://www.amazon.com/How-Exit-Vim-Chris-Worfolk-ebook/dp/B01N5M1U6W
This book does not cover anything except how to exit Vim. It has 19 chapters.
Have you ever found yourself trapped in the command-line text editor Vim? If so, this book could save you from tearing your hair out. It breaks down each situation you may find yourself in, and the correct exit command to get you to safety
-
@wharrgarbl said in How to exit vim reaches 1M views on stack overflow:
This book does not cover anything except how to exit Vim. It has 19 chapters.
The fact that this book exists and has 19 chapters shows everything wrong with Vim
-
@RaceProUK said in How to exit vim reaches 1M views on stack overflow:
@wharrgarbl said in How to exit vim reaches 1M views on stack overflow:
https://www.amazon.com/How-Exit-Vim-Chris-Worfolk-ebook/dp/B01N5M1U6W
This book does not cover anything except how to exit Vim. It has 19 chapters.
The fact that this book exists and has 19 chapters shows everything wrong with Vim
you don't insult my editor! i'll cut you so i will! ALL HLORY TO THE
HYPNOTOADViM!
-
@RaceProUK said in How to exit vim reaches 1M views on stack overflow:
The fact that this book exists and has 19 chapters shows everything wrong with Vim
The fact that the same author wrote one book on cooking babes tell he doesn't really care if there is a need for his books
-
Please note: this is a joke cookbook. You should not cook human babies. I am sorry to have to say that, but it will save a lot of angry letters in The Daily Mail.
I bet it won't.
-
I'm so glad I use a sane text editor with sane shortcuts, nano ftw!
-
@RaceProUK said in How to exit vim reaches 1M views on stack overflow:
The fact that this book exists and has 19 chapters shows
everything wrong with Vimthat you didn't get the joke.
-
@antiquarian on obvious :P
-
@RaceProUK said in How to exit vim reaches 1M views on stack overflow:
The fact that this book exists and has 19 chapters shows everything wrong with Vim
I must respectfully disagree with you. It's a good start, but it comes nowhere close to showing everything wrong with Vim.
-
@wharrgarbl said in How to exit vim reaches 1M views on stack overflow:
I'm disappointed that "howtoexitvim.com" is a
parkeddeleted domainFTFY
-
@wharrgarbl said in How to exit vim reaches 1M views on stack overflow:
@RaceProUK said in How to exit vim reaches 1M views on stack overflow:
The fact that this book exists and has 19 chapters shows everything wrong with Vim
The fact that the same author wrote one book on cooking babes tell he doesn't really care if there is a need for his books
The Twilight Zone did that joke back in the early 1960s
-
@wharrgarbl said in How to exit vim reaches 1M views on stack overflow:
This book does not cover anything except how to exit Vim.
In 3 easy steps:
# killall -s 9 vim # sudo apt-get remove vim # sudo apt-get install nano
-
@wharrgarbl said in How to exit vim reaches 1M views on stack overflow:
Have you ever found yourself trapped in the command-line text editor Vim? If so, this book could save you from tearing your hair out.
If so, you may not be able to read.
Just saying.
-
@heterodox you don't see that screen if you open Vim in any way other than typing
vim
without file path.
-
@Gąska I know, I'm just trolling. (Having said that probably defeats the purpose, but I love hotheads who'll just jump on it regardless.)
-
@Gąska said in How to exit vim reaches 1M views on stack overflow:
@heterodox you don't see that screen if you open Vim in any way other than typing
vim
without file path.
-
@ben_lubar Oh, yeah. If I recall, that appears on ^C. So it's not like vim doesn't give you some hints if you're flailing.
-
@heterodox said in How to exit vim reaches 1M views on stack overflow:
@ben_lubar Oh, yeah. If I recall, that appears on ^C. So it's not like vim doesn't give you some hints if you're flailing.
FFS If they could interpret that keystroke as intent, why not just fulfill that intent?!?!?
It's about as asinine as Chrome's deprecation of Backspace to navigate to prior history! "Hey! User! If you want to go back, hit Alt-Left!!!"
-
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
FFS If they could interpret that keystroke as intent, why not just fulfill that intent?!?!?
Agreed, though it’s not exactly unique behaviour. I don’t remember off the top of my head which program it is, but I’ve encountered at least one that, if you press ^C, says ^D is what you need to quit it.
-
@Tsaukpaetra The thing is that Ctrl-C still serves for what it always did in Vim: it stops processing if there is e.g. a massive replace going on and it will exit INSERT without running any of the usual stuff like "repeating".
Since changing Ctrl-c to exit would surprise existing Vim users (the actual target user), just making it print the exit hint on top of the usual behaviour is a decent compromise.
-
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
FFS If they could interpret that keystroke as intent, why not just fulfill that intent?!?!?
It's about as asinine as Chrome's deprecation of Backspace to navigate to prior history! "Hey! User! If you want to go back, hit Alt-Left!!!"
Because then they would annoy all the civilized users who were just trying to copy text to the clipboard.
-
@heterodox said in How to exit vim reaches 1M views on stack overflow:
So it's not like vim doesn't give you some hints if you're flailing.
Meh...so much bloat.
golem$ ed ? help ? ? ? quit ? exit ? bye ? hello? ? eat flaming death ? ^C ? ^C ? ^D ?
-
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
It's about as asinine as Chrome's deprecation of Backspace to navigate to prior history! "Hey! User! If you want to go back, hit Alt-Left!!!"
I've never used this feature in my entire life in any browser except by accident. Same with Mouse4. Fuck hardcoded shortcuts.
-
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
It's about as asinine as Chrome's deprecation of Backspace to navigate to prior history! "Hey! User! If you want to go back, hit Alt-Left!!!"
I actually like that. I've had situations where I'd be typing in a box and for whatever reason it'd lose focus and hitting backspace caused me to lose all my stuff. Usually it was due to a stupid bug in the web site, but it was still frustrating.
Besides, whenever I'm browsing the net, my hand's almost always on the mouse since that's typically how you navigate sites anyways. It's just natural for me to click the back button.
-
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
It's about as asinine as Chrome's deprecation of Backspace to navigate to prior history! "Hey! User! If you want to go back, hit Alt-Left!!!"
I didn't realise it had changed.
I like that it's changed.
I like pudding.
-
@Tsaukpaetra I, on the other hand, very much appreciate not having to worry about backspacing a typo and navigating back in my browser history by accident and losing the entire paragraph I'd just typed because I'd forgotten the textbox wasn't in focus at that moment. The Alt+Left hint was useful when I wasn't originally aware of the change.
-
@gleemonk said in How to exit vim reaches 1M views on stack overflow:
I keep ending up in the Vim macro recorder when I mistype
:wq
. Because I have no idea how to properly exit it I just mashESC-CTRL-Cwq:ESC
at random until it exits.My list of Vim macros reads like this:
:wq wqwq q :w : wq:q :wq
:q
exits recording for me reliably
-
@RaceProUK said in How to exit vim reaches 1M views on stack overflow:
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
It's about as asinine as Chrome's deprecation of Backspace to navigate to prior history! "Hey! User! If you want to go back, hit Alt-Left!!!"
I didn't realise it had changed.
I like that it's changed.
I like pudding.
I like it too TBH, just stretching my memory for an example.
-
@LB_ said in How to exit vim reaches 1M views on stack overflow:
@Tsaukpaetra I, on the other hand, very much appreciate not having to worry about backspacing a typo and navigating back in my browser history by accident and losing the entire paragraph I'd just typed because I'd forgotten the textbox wasn't in focus at that moment. The Alt+Left hint was useful when I wasn't originally aware of the change.
It got me to the point that by default I used shift-left to select text and then delete (or whatever) to correct the mistake.
-
@Tsaukpaetra said in How to exit vim reaches 1M views on stack overflow:
@LB_ said in How to exit vim reaches 1M views on stack overflow:
@Tsaukpaetra I, on the other hand, very much appreciate not having to worry about backspacing a typo and navigating back in my browser history by accident and losing the entire paragraph I'd just typed because I'd forgotten the textbox wasn't in focus at that moment. The Alt+Left hint was useful when I wasn't originally aware of the change.
It got me to the point that by default I used shift-left to select text and then delete (or whatever) to correct the mistake.
I thought that was the workaround for the infamous "two backspace" problem for Community Server.
-
@Onyx said in How to exit vim reaches 1M views on stack overflow:
:q exits recording for me reliably
Liar.
-
@dcon Try ESCShift+ZShift+Q next time.
-
@Onyx said in [How to exit vim reaches 1M views on stack overflow]
:q
exits recording for me reliablyHere's how it goes: I try to exit vim but miss the colon:
wq
Because nothing happens I do it again
:wq<ENTER>
and now I'm stuck in some weird place where I never wanted to be.
-
@gleemonk Ahhh.... That's why pressing Esc before trying to quit is such a good idea.
-
@gleemonk And this is why I prefer Emacs: Ctrl+X, Ctrl+C works every time
-
@RaceProUK What’s wrong with just clicking the close button on the window?
-
@Gurth That's only for XEmacs :P
-
@RaceProUK What are you saying? That you can’t do that in vim‽
-
@Gurth Well, given people need a 19-chapter book to know how to quit it, kinda, yeah :P