I'm new in VIM editor, and i want to know how to save a file after editing, i entered :x
after finishing my modification, but nothing is happening !! so where should i put this command :x
to be executed !
Thank you
editorvim
I'm new in VIM editor, and i want to know how to save a file after editing, i entered :x
after finishing my modification, but nothing is happening !! so where should i put this command :x
to be executed !
Thank you
Best Answer
The command for saving a Vim file is
:w
and Enter in the Command mode. You can get the command mode by pressing the Esc key. If you want to save and exit the file it is:wq