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 you are viewing /etc/passwd and you would like to open /etc/group using a<br />
split vertical view, do the following.<br />
:vsplit /etc/group<br />
Navigate Between Windows<br />
To navigate between windows do the following:<br />
CTRL-W {Navigation key – j, k, h, l}<br />
For example, to jump to the window above, do the following.<br />
CTRL-W k<br />
To jump to the window below, do the following.<br />
CTRL-W j<br />
Resize Split Windows<br />
When you have split windows inside the Vim editor, you can enlarge or reduce<br />
the size of the current window as shown below.<br />
CTRL Key<br />
CTRL-W +<br />
Description<br />
Increase the size of current window in split mode<br />
CTRL-W -<br />
Reduce the size of current window in split mode<br />
104