mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 05:22:13 +08:00
81679dd67d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2166 af4574ff-66df-0310-9fd7-8a98e5e911e0
21 lines
901 B
XML
21 lines
901 B
XML
<sect2>
|
|
<title>Installation of <application>Vim</application></title>
|
|
|
|
<note><para>If you recompile vim to link against <application>X</application>,
|
|
and your X libs are not on the root partition, you will no longer have
|
|
an editor for use in emergencies. You may choose to install an additional editor,
|
|
not link vim against X, or move the current <command>vim</command> executable to the
|
|
<filename>/bin</filename> directory under a different name such as <filename>vi</filename>.</para></note>
|
|
|
|
<para>Install <application>Vim</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
|
|
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
|
|
./configure --prefix=/usr \
|
|
--with-features=huge &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|