LDP/LDP/retired/LFS/chapter06/vim-exp.xml

17 lines
578 B
XML

<sect2>
<title>Command explanations</title>
<para><userinput>patch -Np1 -i ../vim-&vim-version;.patch:</userinput> This
patch fixes a compile problem with GCC-3.2.</para>
<para><userinput>make
CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\":</userinput> Setting this will
cause vim to look for the <filename>/etc/vimrc</filename> file that
contains the global vim settings. Normally this file is looked for in
<filename class="directory">/usr/share/vim</filename>, but
<filename class="directory">/etc</filename> is a more logical place for
this kind of file.</para>
</sect2>