I compiled and installed vim 7.4 in Ubuntu 12.04. I want to set gvim as the default application for all text and C/C++ files.
I tried : Right click > Open With Other Application. But couldn't find Gvim in that list. I also can't find Gvim in the launcher.
$which gvim /usr/bin/gvim
Currently, I have to launch gvim from command line only.
$gvim filename &
How can I make gvim as the default editor when I open any text/ C/C++ files from file explorer?