Live data from Hacker News

Stack Overflow: Helping One Million Developers Exit Vim (2017)

stackoverflow.blog

81–90 of 149 posts

Re: Stack Overflow: Helping One Million Developers Exit Vim (2017)

#81

This is probably the #1 problem with Unix-based systems in general for new users. There are so many ways to exit a command prompt depending on the application! Off the top of my head: Ctrl+D, q, :q, exit, quit(), Ctrl+C, Ctrl+X. Countless times have I been locked in an application and needed to cycle through those memorized commands to escape. Imagine doing that as a newbie.

You forgot the most powerful of them all: Ctrl+Z followed by kill -9 pid

Re: Stack Overflow: Helping One Million Developers Exit Vim (2017)

#82
post #57

Here’s the proper fix. In your .bashrc, or wherever: export EDITOR= anything but vim >

Vim works fine. I use EMACS. TextMate, Atom and Sublime are OK. Any mainstream editor is fine is all but a few corner cases. Truth be told I would be fine without EMACS but maybe less happy. People unable to exit Vim is just a sign of a larger problem, that a generation of programmer relies more on Google and Stack Overflow than simply READING documentation and EXPERIMENTING by writing short little throw away program…

There's a bit of irony here. You're poking fun at people stuck in a new unfamiliar environment doing the wrong thing over and over without looking into why it isn't working.

Somewhat similar to how most of your comments here are down voted and/or dead/flagged, yet you keep posting new ones with the same tone.

Re: Stack Overflow: Helping One Million Developers Exit Vim (2017)

#83
post #62

Earlier quoted context omitted.

A professional would be able to reconfigure the system afterwards to make sure it'll never drop them into this annoying to use editor again.

A professional isn't annoyed by vim.

"Professional" isn't defined by taste in text editors.

Re: Stack Overflow: Helping One Million Developers Exit Vim (2017)

#87
post #62

Earlier quoted context omitted.

A professional would be able to reconfigure the system afterwards to make sure it'll never drop them into this annoying to use editor again.

A professional isn't annoyed by vim.

@detaro I agree. Thus all the downvotes from the amateurs.

Re: Stack Overflow: Helping One Million Developers Exit Vim (2017)

#88

This is probably the #1 problem with Unix-based systems in general for new users. There are so many ways to exit a command prompt depending on the application! Off the top of my head: Ctrl+D, q, :q, exit, quit(), Ctrl+C, Ctrl+X. Countless times have I been locked in an application and needed to cycle through those memorized commands to escape. Imagine doing that as a newbie.

You forgot the most powerful of them all: Ctrl+Z followed by kill -9 pid

Or, `kill %1` if you backgrounded it in the current shell (or whenever number `jobs` gives).

Re: Stack Overflow: Helping One Million Developers Exit Vim (2017)

#90
post #65

Here’s the proper fix. In your .bashrc, or wherever: export EDITOR= anything but vim >

Or just learn the very basics of the program: Ins to write Esc to enter command mode Shift+V while in cmd mode to select lines, d to cut or y to copy selected lines. p to paste. u in cmd mode to undo, ctrl+r to redo. :q! to quit and discard changes when in cmd mode. :qw to quit and write changes :w to write changes and no exit. It aint that hard really, once you get the hang of it :) - And then I would suggest changi…

Forget to enter insert mode before typing? Now you're levels deep in some command recorder where none of your suggestions work.
Post reply on HN