How do I save and edit in Vim?

How do I save and edit in Vim?
Answer
How to Save a File in Vi / Vim Editor in Linux
  1. Press ‘i’ to Insert Mode in Vim Editor. Once you have modified a file, press [Esc] shift to the command mode and press :w and hit [Enter] as shown below.
  2. Save File in Vim. To save the file and exit at the same time, you can use the ESC and
    key and hit [Enter] .
  3. Save and Exit File in Vim.
 

Tìm kiếm

Back
Top