Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
reayn
on April 16, 2022
|
parent
|
context
|
favorite
| on:
Moreutils: A collection of Unix tools that nobody ...
Pressing ZQ in insert mode also provides the same effect!
CGamesPlay
on April 16, 2022
|
next
[–]
Actually, it doesn’t. ZQ is the same as :q! which quits without saving with a 0 exit code. So all of your git branches get deleted in this example, since you left the file as it was. You definitely want :cq here.
toxik
on April 16, 2022
|
prev
[–]
In normal mode, not insert mode. ZQ in insert mode inserts ZQ.
reayn
on April 16, 2022
|
parent
[–]
Oh my bad, i had a bit of a stroke writing my comment lol.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: