2003-04-01 00:10:30 +08:00
|
|
|
<sect2>
|
2003-09-27 02:58:36 +08:00
|
|
|
<title>Installation of <application>Vim</application></title>
|
2003-04-01 00:10:30 +08:00
|
|
|
|
2004-05-15 16:01:29 +08:00
|
|
|
<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>
|
|
|
|
|
2003-09-27 02:58:36 +08:00
|
|
|
<para>Install <application>Vim</application> by running the following commands:</para>
|
2003-04-01 00:10:30 +08:00
|
|
|
|
2003-10-14 10:48:50 +08:00
|
|
|
<screen><userinput><command>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
|
|
|
|
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
|
2003-10-06 05:25:41 +08:00
|
|
|
./configure --prefix=/usr \
|
2003-04-01 00:10:30 +08:00
|
|
|
--with-features=huge &&
|
|
|
|
make &&
|
2003-09-28 02:46:10 +08:00
|
|
|
make install</command></userinput></screen>
|
2003-04-01 00:10:30 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|