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
-
still it's awesome how those shortcuts are the best example of how to _not_ do a shortcuts for a casual user.
-
Is there any advantage of using :wq instead of :x? Or, is it just a matter of choice?
-
Anderson218y@by2coffee https://quora.com/Why-do-some-peopl...
Read at least a few answers. Btw, I'm in the :x team :) -
Thanks @Anderson! I guess :wp :wn etc. made the most sense, but I don't use the "real" features of vim yet
-
thyyppa328y:! 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. -
ac123511438y@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 -
achehab8438yAnd now that the secret of exiting vim has been revealed, please make those jokes about exiting vim stop xD
Related Rants
- 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