#2694: Install Vim to /bin
-----------------------------------------+----------------------------------
Reporter: rob...@… | Owner: lfs-b...@…
Type: enhancement | Status: new
Priority: low | Milestone: 6.7
Component: Book | Version: SVN
Severity: minor | Keywords:
-----------------------------------------+----------------------------------
It would be nice to have a text editor available when we're in single user
mode, or when /usr isn't installed. Vim can still be used, it doesn't link
to anything in /usr/lib. So:
{{{
mv -v /usr/bin/vim /bin
}}}
And then in /etc/vimrc:
{{{
if (isdirectory("/usr/share/vim"))
syntax on
endif
}}}
And blam! Vim will work with basic functionality when /usr is not mounted,
and will work normally when /usr is mounted, and it's all
transparent.[[BR]]
I remember that at least 1 BLFS package, sudo I think, expects vi(m) to be
in /usr/bin, but it's configurable.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2694>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page