I'd like to remove some of the default icons and maybe add one or two icons of my own. For example, it would be nice if there were icons for the NerdTree and the Taglist.
I found this tutorial helpful. The most interesting part is quoted below:
It basically works like adding other menus.
You can find the details in vim's help (
Ludwig's answer got me started, but it was not really the kind of answer I hoped for. So I made the question community-wiki and leave this answer with what I found out. The answer will be improved as I go along.
Find out what the toolbar currently consists of
This will give you a listing of the commands currently on your toolbar. It will list the position, name and tooltip for each entry.
Delete something from the default toolbar
You can use your
You need to specify the menu ("ToolBar") and the name of the command ("Make").
Add a new entry to your toolbar
To add a new command to the toolbar, use the tmenu and amenu command. For example, the following commands will add an icon that will toggle the display of the taglist (of course, you need to install the taglist plugin first):
Again, you need to specify the name of the menu ("ToolBar") and the name of your new menu entry ("taglist"). The name of the new entry will also be used to search for an icon. You can place the icon in your ~/.vim/bitmaps/ directory (simply create it if it doesn't exist yet). Supposedly, you need a .bmp on Windows and a .xpm everywhere else. The icon's size needs to be 18 x 18 pixels.