News for hackers. Stuff that matters.
Re:Helping a Million Developers Exit Vim by flukus on Tuesday May 23, 2017 @08:49PM (#14406767)
> The same thing with vim using nonstandard way of quitting.

How do you quit man? How do you quit less?

'q' to quit is pretty standard in the TUI world.

Re:Helping a Million Developers Exit Vim by Houshalter on Tuesday May 23, 2017 @09:19PM (#14406911)
I tried it and typing q does not seem to exit the program. Nothing I tried worked and I had to exit the whole terminal.
Re:Helping a Million Developers Exit Vim by flukus on Wednesday May 24, 2017 @02:10AM (#14407919)
Well it's not quite that simple because it's more complicated than those tools. Once you are in ex mode ':' though it uses the standard exit key.

As for if you stuck in insert mode, this is more akin to when you have text highlighted in a GUI editor, the shortcuts change because you're in a different mode.

Remember all editors have modes, vim is just a bit more in your face with them.

Re:Helping a Million Developers Exit Vim by ecshafer on Tuesday May 23, 2017 @10:03PM (#14407098)
You have to type :q to quit. : Is the command mode.
Re:Helping a Million Developers Exit Vim by appleiigs on Tuesday May 23, 2017 @10:20PM (#14407148)
Missing one step. <esc>:q
Re:Helping a Million Developers Exit Vim by dllthomas on Tuesday May 23, 2017 @11:28PM (#14407400)
Actually, the missing step is the <cr> at the end.

The <esc> at the beginning is only necessary if you've already got into insert mode. That said, it'll not do any harm.

Re:Helping a Million Developers Exit Vim by Houshalter on Tuesday May 23, 2017 @11:23PM (#14407381)
So intuitive.
Re:Helping a Million Developers Exit Vim by dllthomas on Tuesday May 23, 2017 @11:30PM (#14407408)
q is only quit when run as a command. In normal mode, it's record.