Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ghostly_s
11 months ago
|
parent
|
context
|
favorite
| on:
How to Exit Vim
I guess. It is non-ideal how unintuitive it is to exit vim, but esc-esc-q-! is really not that complicated.
squid_ca
11 months ago
[–]
I feel like you're missing a few esc's and a colon in there...
jfoutz
11 months ago
|
parent
[–]
zz? Only one esc, but definitely a colon. vim is weird. Works for me, but I understand it’s not suitable for everyone’s tastes.
AnonHP
11 months ago
|
root
|
parent
|
next
[–]
zz centers the screen on the current line. Use ZZ to save the file and quit. Use ZQ to not save but quit.
squid_ca
11 months ago
|
root
|
parent
|
prev
[–]
oh, I love vim! I still hit esc anywhere between 5 and 7 times before typing :wq to save my work.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: