glfs/postlfs/editors/vim/vim-inst.xml
Tushar Teredesai 81679dd67d Added comment to vim section related to an editor for emergency use
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2166 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-15 08:01:29 +00:00

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"' &gt;&gt; src/feature.h &amp;&amp;
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
./configure --prefix=/usr \
--with-features=huge &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>