How is it possible to save the vim file without to close it? I do a change, save it immediately and continue to work with the file without to reopen it again... I have found of course the question how do I save files edited with vim, anyway the proposed solutions close the file after the job execution.
Asked
Active
Viewed 1,771 times
3 Answers
0
You need to press escape when you opened the file using vim and made changes, then type :w to save it without closing it
Venkatesh Dwarapureddi
- 71
- 1
- 1
- 3
0
if you want to save file in vim without exiting from vim, use this (to write):
:w
and if you want to save file and exit form vim editor, use this ( to write and quit):
:wq
karel
- 122,292
- 133
- 301
- 332