aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
authorAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-13 22:30:39 +0000
committerAlex Gronenwoud <alex@linuxfromscratch.org>2003-11-13 22:30:39 +0000
commit0ba2766b69ef1911d436eaf6cd6be684be50fc74 (patch)
tree97e8d7e7fdddfa51de6519cd5d217f7a3bb1b1d4 /chapter06/vim.xml
parent695d6f2ee689d39ba344c3b3c1a4dda03b0e7d44 (diff)
Creating a system-wide vimrc file, as suggested by Greg.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3079 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index e0efd0ebd..8eb1bb7d2 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -22,7 +22,7 @@ suggested installation instructions.</para>
<sect2>
<title>Installation of Vim</title>
-<para>Change the default locations of the <filename>vimrc</filename> and
+<para>First change the default locations of the <filename>vimrc</filename> and
<filename>gvimrc</filename> files to <filename
class="directory">/etc</filename>.</para>
@@ -41,18 +41,19 @@ echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h</userinput><
<screen><userinput>make install</userinput></screen>
-<para>Vim can run in old-fashioned <emphasis>vi</emphasis> mode by
-creating a symlink, which may be created with the following command:</para>
+<para>When called as <userinput>vi</userinput>, <userinput>vim</userinput>
+will run in old-fashioned vi-mode. To allow this, create a symlink:</para>
<screen><userinput>ln -s vim /usr/bin/vi</userinput></screen>
-<para>If you plan to install the X Window system on your LFS
-system, you might want to re-compile Vim after you have installed X. Vim
-comes with a nice GUI version of the editor which requires X and a few
-other libraries to be installed. For more information read the Vim
-documentation.</para>
+<para>If you are going to install the X Window system on your LFS system, you
+may want to re-compile Vim after having installed X. Vim comes with a nice GUI
+version of the editor that requires X and a few other libraries to be
+installed. For more information read the Vim documentation.</para>
</sect2>
+
&c6-cf-vim;
+
</sect1>