How do I save a Vimrc file?

Đức Lưu

New member
How do I save a Vimrc file?
Answer
How to Save a File in Vi / Vim Without Exiting
  1. Switch to command mode by pressing the ESC key.
  2. Type : (colon). This will open the prompt bar in the bottom left corner of the window.
  3. Type w after the colon and hit Enter. This will save in Vim the changes made to the file, without exiting.
11 апр. 2019 г.
 

Tìm kiếm

Back
Top