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 />
Hack 62. Skip Loading Plugins Temporarily ................................ 98<br />
Hack 63. Enter Restricted Mode in Vim ..................................... 98<br />
Chapter 10: gVim Hacks ............................................. 99<br />
Hack 64. Display and Hide gVim Menu and Toolbar ...................... 99<br />
Hack 65. Adding a Custom Menu or Menu Items to gVim ...............100<br />
Hack 66. Change Font in gVim ................................................102<br />
Chapter 11: Vim Look and Feel, Tabs, and Windows ........ 103<br />
Hack 67. Split Windows Horizontally and Vertically .....................103<br />
Hack 68. Change Window Title ...............................................105<br />
Hack 69. Change Vim Colors ..................................................106<br />
Hack 70. Edit Multiple Files in Tabs .........................................107<br />
Chapter 12: Additional Features in Vim Editor ................ 109<br />
Hack 71. Repeat an Operation N number of times ......................109<br />
Hack 72. Undo and Redo Action .............................................109<br />
Hack 73. Open the File whose Name is under the Cursor .............110<br />
Hack 74. Edit Multiple Files Using the Traditional Method ............112<br />
Hack 75. Saving Files Automatically ........................................113<br />
Hack 76. Encrypt File in Vim .................................................114<br />
Hack 77. Save and Resume Vim Sessions ..................................114<br />
Hack 78. Execute Unix Shell Command Inside Vim ......................116<br />
Hack 79. Review the Differences between Files using Vimdiff .......117<br />
Hack 80. Vim Map Command ..................................................118<br />
Hack 81. Make Bash Shell work like Vim Editor ..........................121<br />
Hack 82. Set Vim Options ......................................................122<br />
Hack 83. Unset Vim Options ..................................................122<br />
Hack 84. Default registers and their uses .................................123<br />
Hack 85. Numeric Registers and Recovering Deletes ...................124<br />
Hack 86. Vim Directory Operation ..........................................124<br />
Chapter 13: Power of Search ..................................... 127<br />
Hack 87. Navigation by Search ...............................................127<br />
5