I see a lot of people using 'wq' a lot but never a form 'x'.
In vi and vim, if you want to save and exit with a simple key stroke simply use:
:x
Blog on things around me - Quality Management, Free & Open Source Software, Gadgets, Utilities...
Subscribe to:
Post Comments (Atom)
Total Pageviews
Popular Posts
-
Bugzilla is the Bugs/Issues Tracking Tool from The Mozilla Organization. Version 2.18 is the latest stable release. There are couple of res...
-
These are a few of the options u can try to make your Tomcat Server startup faster: Get a faster computer (:D) Make sure your code i...
-
I have been assigned to prepare a checklist for my project. So, while compiling a checklist for SQLs, I suggested to use SELECT COUNT(COLUMN...
-
Two MIT math graduates bump into each other at Fairway on the upper west side. They hadn't seen each other in over 20 years. The first g...
-
With Java 5 (or Java 1.5 or JSE 5.0 or Java J2SE 5.0 or JDK 1.5), a new feature called Autoboxing has been introduced to the language. it is...
6 comments:
Thanks for this. I'm definitely one of those people that uses :wq all the time. It doesn't even feel like an extra keystroke anymore!
thank you.
I think that I forgot this command for about 15 years.
BR,
~A
Why use :x when ZZ is easier?
Thanks. I didn't even know how to save a file in vi. I always just use :q! to get out and use pico, but ESX has no pico :(
Thanks.
You can also use ZZ, which is even shorter then :x
you can use :xa to save and close multiple files
Post a Comment