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 />
Chapter 10: gVim Hacks<br />
gVim is an X-window based interface to the Vim editor.<br />
Hack 64. Display and Hide gVim Menu and Toolbar<br />
Sometimes to get more screen real estate you may want to disable gVims<br />
menu bar, tool bar, scroll bar or other visual components.<br />
This can be achieved using :set guioptions.<br />
For example, to disable the toolbar do the following. Please note that there<br />
is a - symbol before the =<br />
:set guioptions-=T<br />
To enable the toolbar do the following. Please note that there is a + symbol<br />
before the =<br />
:set guioptions+=T<br />
You can manipulate the following gVim GUI elements.<br />
UI Element Code<br />
:set guioptions+=TmrlRL<br />
Description<br />
Display all gVim GUI elements<br />
: set guioptions-=TmrlRL Hide all gVim GUI elements<br />
99