14.06.2014 Views

vim 101 hacks

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Transaction ID: 85W16630AD8515549<br />

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

www.thegeekstuff.com<br />

If there is a special character (for example punctuation) at the end of the line<br />

the cursor is on, the J command will add two spaces when joining the two<br />

lines.<br />

To avoid this and always use one space when joining the two lines, set the<br />

following option.<br />

:set nojoinspaces<br />

53

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

Saved successfully!

Ooh no, something went wrong!