ASIC/FPGA Design and Verification Out Source Services
gvim how to add a knob to the menu.
Add knob to gvim menu.
-
Recently I created a script, that prints a nice log and saves into a text file.
The script also fires up gvim and highlights interesting words (using
search command :: gvim file.txt +/"my pattern").
-
Once inspected all I want is to quit the log. For that I created a new icon
in the menu.
First I searched the web for nice gvim icons.
Second I added it to all menus via adding this command to the
~/.gvimrc:
:amenu icon=~/junk/Pini/pkq.png ToolBar.pkq :qa!<cr>
-
The knob was added in the right side of the tool bar:
|