Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
sshine
1y ago
0 comments
Share
It’s one third of what you’ll ever need to use Vim:
i <Esc>:w :q
undefined | Better HN
0 comments
default
newest
oldest
_generic
1y ago
You can use :wq to do both at the same time.
sshine
OP
1y ago
Yes, but that adds one more command.
You can also do ZZ instead of :x, if you're playing keystroke golf.
fragmede
1y ago
Vim added :x though it doesn't exist in Vim
fragmede
1y ago
doesn't exist in vi
burnt-resistor
1y ago
It's been reduced to q in lazyvim, at least at the intro screen.
j
/
k
navigate · click thread line to collapse