aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/config-vim.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/config-vim.xml')
-rw-r--r--chapter06/config-vim.xml14
1 files changed, 4 insertions, 10 deletions
diff --git a/chapter06/config-vim.xml b/chapter06/config-vim.xml
index 172d67ffc..ee4124a2f 100644
--- a/chapter06/config-vim.xml
+++ b/chapter06/config-vim.xml
@@ -1,24 +1,18 @@
<sect2><title>Configuring Vim</title>
-<para>
-By default Vim runs in vi compatible mode. Some people might like this,
+<para>By default Vim runs in vi compatible mode. Some people might like this,
but we have a high preference to run vim in vim mode (else we wouldn't
have included Vim in this book but the original Vi). Create the
-<filename>/root/.vimrc</filename> by running the following:
-</para>
+<filename>/root/.vimrc</filename> by running the following:</para>
-<para>
-<screen>
-<userinput>cat &gt; /root/.vimrc &lt;&lt; "EOF"</userinput>
+<para><screen><userinput>cat &gt; /root/.vimrc &lt;&lt; "EOF"</userinput>
" Begin /root/.vimrc
set nocompatible
set bs=2
" End /root/.vimrc
-<userinput>EOF</userinput>
-</screen>
-</para>
+<userinput>EOF</userinput></screen></para>
</sect2>