Ask Your Question

Where is gvim?

asked 2015-12-11 21:17:14 -0600

wolfv gravatar image

I installed a software on Fedora 22, and it is asking for an editor:

No default editor found, you must choose it.

I want to choose gvim, but don't know where it is. How to find the gvim executable on Fedora 22? So far I have tried the following.

$ whereis gvim
gvim: /usr/bin/gvim /usr/share/man/man1/gvim.1.gz

$ echo $PATH

$ sudo find -name "gvim.exe"
(found nothing)

Right click Vim icon > Show Details > Vi Improved - (no path here)

edit retag flag offensive close merge delete


According to your whereis command, gvim is located in /usr/bin/.

Since /usr/bin is listed in $PATH, you should be able to open a terminal and just type gvim

Your find command didn't return a result because executable files usually don't have the .exe suffix in Linux. Try cd /, sudo find -name gvim.

florian gravatar imageflorian ( 2015-12-11 21:36:09 -0600 )edit

Your software might expect $EDITOR to be set, try export EDITOR=/usr/bin/gvim

randomuser gravatar imagerandomuser ( 2015-12-12 09:25:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-11 22:06:28 -0600

wolfv gravatar image

Found it in /bin/gvim

edit flag offensive delete link more

Question Tools


Asked: 2015-12-11 21:17:14 -0600

Seen: 1,679 times

Last updated: Dec 11 '15