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 />

Navigation Key<br />

CTRL-E<br />

CTRL-Y<br />

Description<br />

Scroll down one line<br />

Scroll up one line<br />

Hack 2. Word Navigation<br />

Using h and l key to navigate horizontally is very painful and time consuming.<br />

You can navigate words effectively using the word navigation keys mentioned<br />

below.<br />

Navigation Key<br />

w<br />

W<br />

e<br />

E<br />

Description<br />

Go to the beginning of next word<br />

Go to the beginning of next WORD<br />

Go to the end of current word<br />

Go to the end of current WORD<br />

b<br />

B<br />

Go to the beginning of previous word<br />

Go to the beginning of previous WORD<br />

word Vs WORD<br />

word consists of a sequence of letters, digits and underscores. WORD consists<br />

of a sequence of non-blank characters, separated with white space.<br />

• For example, 192.168.1.3 contains seven words. But the whole<br />

192.168.1.3 is considered as one WORD.<br />

24

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

Saved successfully!

Ooh no, something went wrong!