What does :w command do?

The :w command is used in the Vim text editor to save the current file. When you type :w and press Enter, it writes (saves) the changes made to the file you are currently editing. If you want to save and exit Vim, you can use :wq.

0 Comments

no data
Be the first to share your comment!