aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-10-27 22:21:44 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-10-27 22:21:44 +0000
commit4d6fc2dabb417f72752429222a3698ecc8a3c537 (patch)
tree073c981871be15744ed5f6d72189f286975ea5f6 /chapter06/vim-inst.xml
parent2443baaf497c491965623107d6fe4f4b505e06aa (diff)
[Bug 164] XML Tidy up
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1329 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim-inst.xml')
-rw-r--r--chapter06/vim-inst.xml63
1 files changed, 30 insertions, 33 deletions
diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml
index 1e25a0f17..176ff9300 100644
--- a/chapter06/vim-inst.xml
+++ b/chapter06/vim-inst.xml
@@ -9,21 +9,21 @@ which are currently available are for Emacs, Joe and nano.</para>
<para>Install Vim by running the following commands:</para>
-<para><screen><userinput>sed '/shUntil\|link shRepeat/{</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/shUntil/N</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/^/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;p</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/$/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;endif</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;d</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed &amp;&amp;</userinput>
-<userinput>mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>ln -sf vim vi</userinput></screen></para>
+<para><screen><userinput>sed '/shUntil\|link shRepeat/{
+&nbsp;&nbsp;&nbsp;/shUntil/N
+&nbsp;&nbsp;&nbsp;/^/i\
+&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")
+&nbsp;&nbsp;&nbsp;p
+&nbsp;&nbsp;&nbsp;/$/i\
+&nbsp;&nbsp;&nbsp;endif
+&nbsp;&nbsp;&nbsp;d
+&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed &amp;&amp;
+mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf vim vi</userinput></screen></para>
<para>If you plan on installing the X Window system on your LFS
system, you might want to re-compile Vim after you have installed X. Vim
@@ -41,24 +41,21 @@ for their temporary state files, like temporary save files for example.
If you wish vim to conform to the FHS, you should use this command set
instead of the one presented above:</para>
-<para><screen><userinput>sed '/shUntil\|link shRepeat/{</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/shUntil/N</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/^/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") ||
-exists("b:is_bash")</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;p</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/$/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;endif</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;d</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed
-&amp;&amp;</userinput>
-<userinput>mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;</userinput>
-<userinput>make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\"
-&amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>ln -sf vim vi</userinput></screen></para>
+<para><screen><userinput>sed '/shUntil\|link shRepeat/{
+&nbsp;&nbsp;&nbsp;/shUntil/N
+&nbsp;&nbsp;&nbsp;/^/i\
+&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")
+&nbsp;&nbsp;&nbsp;p
+&nbsp;&nbsp;&nbsp;/$/i\
+&nbsp;&nbsp;&nbsp;endif
+&nbsp;&nbsp;&nbsp;d
+&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed &amp;&amp;
+mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;
+./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
+make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf vim vi</userinput></screen></para>
</sect2>