Live data from Hacker News

Helping a Million Developers Exit Vim

stackoverflow.blog

11–20 of 489 posts

Re: Helping a Million Developers Exit Vim

#12

I'm somewhat amazed but mostly amused that the Vim developers care so little about user experience that they continue to ignore that people have trouble with exiting their tool and refuse to adapt to a more expected convention for exiting it.

It literally everytime you boot the first screen tells you how to quit and get help. So..read the screen that comes up Everytime? If you try Ctrl c it tells you it's :q.

Re: Helping a Million Developers Exit Vim

#13

I'm somewhat amazed but mostly amused that the Vim developers care so little about user experience that they continue to ignore that people have trouble with exiting their tool and refuse to adapt to a more expected convention for exiting it.

The GUI version can be exited from in the same way as any other GUI application. If run from the command line, there is no standard way to exit (nano? emacs? joe?)

Re: Helping a Million Developers Exit Vim

#15

I barely use any Vim, but I'm more confused about there being some hidden complexity in exiting Vim that I'm not aware of. Isn't it just... [Esc] :wq ...or... [Esc] :q! ...depending if you want to save the current document or not?

Imagine you don't know that. Now try to exit vim.

Re: Helping a Million Developers Exit Vim

#17

I barely use any Vim, but I'm more confused about there being some hidden complexity in exiting Vim that I'm not aware of. Isn't it just... [Esc] :wq ...or... [Esc] :q! ...depending if you want to save the current document or not?

You can also -ZZ to save the file and exit. Very convenient to remember if you use Vim a lot.

Re: Helping a Million Developers Exit Vim

#18

I barely use any Vim, but I'm more confused about there being some hidden complexity in exiting Vim that I'm not aware of. Isn't it just... [Esc] :wq ...or... [Esc] :q! ...depending if you want to save the current document or not?

No, it really is that easy.

If you try to -c, the program even tells you to use :q

It's just become a meme at this point.

Re: Helping a Million Developers Exit Vim

#19

I barely use any Vim, but I'm more confused about there being some hidden complexity in exiting Vim that I'm not aware of. Isn't it just... [Esc] :wq ...or... [Esc] :q! ...depending if you want to save the current document or not?

or :q or ZZ or qa(!) or wqa(!)

I love vim and I've used all of those at some point. I'd never pretend there's no learning curve, just that the learning curve is worth it.

Re: Helping a Million Developers Exit Vim

#20

I barely use any Vim, but I'm more confused about there being some hidden complexity in exiting Vim that I'm not aware of. Isn't it just... [Esc] :wq ...or... [Esc] :q! ...depending if you want to save the current document or not?

Never forget ZZ. Or, my preferred method, suspend the process for later use.
Post reply on HN