ag@linux:~$

VI editor

3 posts, oldest first.

  1. Basic VI Editor Commands: Open, Insert, Save and Quit. The first vi editor commands a beginner needs: open a file, switch to insert mode, type text, then save or quit, with the original save command corrected.
  2. How to Comment Out All Lines in the VI Editor. Comment out every line of a file in vi with one search-and-replace command, plus how to comment a range, undo it and use Vim visual block mode.
  3. VI Editor Search and Replace Commands. Reference for vi search and replace with :s, covering the current line, the whole file, line ranges, marks and the :g command, with confirm and case flags.