How to add gVim to applications menu?

Hi, Can anyone help me? I have installed gVim via ports and I can type command in Terminal to start it. Now I want to add gVim to applications menu? What should I do?

Many thanks for your reply? Thanks
 
Create a gvim.desktop file in ~/.local/share/applications/:
Code:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=gvim %f
Name=gvim
Comment=Custom definition for gvim
Categories=GTK;Utility;TextEditor;

Or place that file in /usr/local/share/applications/ to make it available for all users.
 
Back
Top