Tip #259: removing the toolbar (icons) from gvim
tip karma |
Rating 12/9, Viewed by 581
|
created: |
|
June 12, 2002 18:52 |
|
complexity: |
|
basic |
author: |
|
Ali Rizvi |
|
as of Vim: |
|
6.0 |
Change good or bad usually encounters interia from people in excepting it.
gvim 6.0 is the first version that introduced the icons shortcut in shape of a toolbar under the menu.
when we upgraded to the new and improved vim 6.1 from vim 5.7 some of people in our company encountered some problems with their syntax highlighting
and some of them objected on the new toolbar which displayed icons for some common tasks for people more used to GUI.
I finally figured out how to remove this new feature since I also didn't see much use for it
Here is for all those who haven't figured it out yet
In your .gvimrc include the following two lines
unmenu ToolBar
unmenu! ToolBar
Doing this from an open gvim does not remove them but grays them out but doing from gvimrc does the job
I was also trying to remove the menus at the top and almost succeeded with a similar technique but somehow the Buffer menu item stays there no matter what. IMHO it is a bug but it could very well be a feature ;)
I tried this
unmenu *
unmenu! *
even added this line after the above two but didn't help
unmenu Buffers
I hope this benefits you all as much as I have benefitted from all your tips
<<how long is the current word? |
gvim-->mouse-->popup menu >>
Additional Notes
|