I am writing a small crash course for vi/vim for our staff here, and I realized two things: 1. How little vi they knew in general 2. How little vi I knew changed since the 1990s I am having a great ...
To exit vi or vim without saving changes, press Esc a few times to enter Command mode, then type :q! and hit Enter. To exit vi or vim and commit your changes, press the Escape key to ensure you're in ...