aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim-exp.xml
blob: 9a4167468eee72109e1cc26aaf92bfcfa49fe67a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<sect2>
<title>Command explanations</title>

<para><userinput>sed '/shUntil\|link shRepeat/{...:</userinput> This sed
command fixes a bug in the <filename>syntax/sh.vim</filename> file that
will cause an error message when you edit a shell script using syntax
highlighting.</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>