Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Save Files in Vim with the Write Command


    Save files in Vim using the write :write command in normal mode. This common command can be abbreviated :w. Use it in tandem with :q[uit] to save and quit simultaneously: :wq. The write command can be used with a bang (!) to write over read-only files — :w!.