How do I override a vi file?

How do I override a vi file?
Answer
This is a maximally abbreviated version of the following sequence of commands:
  1. :%yank : Yank the entire file by using the :yank command with the % range. …
  2. :tabnext : Move to the next tab.
  3. :%delete : Delete the entire buffer by passing the % range to the :delete command.
 

Tìm kiếm

Back
Top