Two hopefully quick question to the vi gurus out there:<BR><BR>1. How to recall previous VI commands and edit them<BR><BR>2. How to replace a string with a string with a newline in it like this ...
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 ...