glfs/postlfs/editors/vim/vim-inst.xml

21 lines
901 B
XML
Raw Normal View History

<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>