Re: vim and /etc/alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, Mar 10, 2007 at 11:46:31AM -0800, Toshio Kuratomi wrote:
> 2) Something like launchvim has no bearing on whether we are going to
> split out /bin/vi from vim/gvim as it does nothing to address the issue
> of /bin/vi needing /usr to be mounted in order to run.

I believe it addresses. /bin/vi will not require /usr to be mounted. Say we
have something like /bin/vi.minimal, /usr/bin/vim.enhanced and
/usr/bin/vim.x11. And /bin/launchvim with all those vis, vims, vimdiffs and
whatever symlinked to it. Then it would launch the most featureful version
available at the moment.

Seems like noone is flaming me, so I'll flame myself. It is a nonsense. This
is certainly not how things should be done. It's better than alternatives
because of that /usr issue. But otherwise it's just an ugly bullshit.
It is better than the current approach, though (imho).

> I'm certain I'm not understanding what you want now.  I don't know what
> you're referring to with the "just use the shift key".

Fire up 'gvim -v' in an xterm. Try to select something. Ouch, it moves the
cursor. Fine, do the same while holding the Shift key. Works like normal xterm
selection. Cool.

> alias vim='gvim -v'

Ok, you win, I lose.
So I guess the vim-X11 package needs this:

    for cmd in ex rvi rview vi view rvim vim vimdiff; do
	echo "alias $cmd = gvim -whatever" >>/etc/profile.d/vim-X11.sh
    done

(i know this is never gonna happen, just like i'll never set these aliases and
will use those symlinks and/or debian instead :/)
-- 
TJ., BaseOS, Brno, CZ

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux