vim and /etc/alternatives

Patrice Dumas pertusus at free.fr
Sat Mar 10 16:23:40 UTC 2007


On Sat, Mar 10, 2007 at 02:12:15PM +0100, Tomas Janousek wrote:
> Zdar,
> 
> On Sat, Mar 10, 2007 at 01:52:59PM +0100, Patrice Dumas wrote:
> > Why do you want that? vim is a console app, it just needs a terminal.
> 
> Because I love the ability to pass huge amounts of text using the X clipboard.

I see.
 
> > Why don't you want to use gvim for gvim and vim for the console vim?
> > There are 2 different apps with different names, what is the problem? 
> 
> No, they are not. 

Indeed you are right.

> They are two same apps compiled with different options. And
> I _do_ want every single command that runs a vim to run the vim-X11 version.

I want the reverse. 

After looking more seems like that when vim-minimal (with vi) and 
vim-enhanced (with vim) are installed an alias is done in /etc/profile.d 
to alias vi to vim.

Why don't you alias vim to gvim?

--
Pat




More information about the Fedora-maintainers mailing list