aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim-exp.xml
blob: a95c2f90250facfbf566ba14d1595f5681cf014f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<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>