Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
KeyWeeUsr316710ystill it's awesome how those shortcuts are the best example of how to _not_ do a shortcuts for a casual user. -
by2coffee12210yIs there any advantage of using :wq instead of :x? Or, is it just a matter of choice? -
Anderson2110y@by2coffee https://quora.com/Why-do-some-peopl...
Read at least a few answers. Btw, I'm in the :x team :) -
by2coffee12210yThanks @Anderson! I guess :wp :wn etc. made the most sense, but I don't use the "real" features of vim yet -
thyyppa3210y:! to run a shell command without leaving vim!
And :o to open or create a new file, then :b0, :b1, :b2.. to jump between them. -
ac1235113010y@thyyppa and :sh to open a shell, which when typing `exit´ or CTR-D goes back to vim -
ac1235113010y@by2coffee
:w or :x or ZZ is really just all about what you learned first.
Since I was introduced to vim using :w :q, it seemed obvious to me to use :wq -
achehab83910yAnd now that the secret of exiting vim has been revealed, please make those jokes about exiting vim stop xD
Related Rants

I don't know what to write for this. 😂
You will never exit this fitness club. 😜
- Start in command mode
- Press `i´ to edit
- Press ESC to go back in command mode
- Type in `:wq´ in command mode to save and exit
So now none of you can say that he doesnt understand vim
Thank me later
undefined
vim