14.06.2014 Views

vim 101 hacks

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Buyer: xiujuan lu (luxiujuan@gmail.com)<br />

Transaction ID: 85W16630AD8515549<br />

Vim <strong>101</strong> Hacks<br />

www.thegeekstuff.com<br />

u<br />

Multiple Undo:<br />

To undo multiple changes, do the following. The example below will undo 5<br />

changes.<br />

5u<br />

Undo All:<br />

To undo all latest changes (in the current line), do the following.<br />

U<br />

Redo Action<br />

If you’ve performed an undo by mistake, you can redo the change as shown<br />

below.<br />

:red<br />

(or)<br />

CTRL-R<br />

Hack 73. Open the File whose Name is under the<br />

Cursor<br />

This hack is helpful in the following situations:<br />

110

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!