From RevSpace
Jump to navigation Jump to search

How do I save files edited with vim editor?

  • 1 Esc, to quit edit mode and fallback to command mode;
  • 2:wq, start with a : (colon) then press w and finally q to write and quit (or just :w to write without quitting)
  • 3 then press Enter to valid.