aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2017-05-03 21:28:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2017-05-03 21:28:38 +0000
commit5897639a63b476759f18df9496b5d8d8844372fc (patch)
treef88816cb67915bd77cec138d66c0f3c857220f4f /chapter06/vim.xml
parent22c4f872869ccd36002f56b84548f04eca0096ba (diff)
Fix a problem with glibc tests and add some explanations to i
the configure options. Add a command to touch /root/.vimrc so that the default vim options don't override those in /etc/vimrc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11240 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 6fa7f60f7..94672585a 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -128,7 +128,9 @@ endif
" End /etc/vimrc</literal>
-EOF</userinput></screen>
+EOF
+
+touch ~/.vimrc</userinput></screen>
<para>The <parameter>set nocompatible</parameter> setting makes
<command>vim</command> behave in a more useful way (the default) than the
@@ -144,6 +146,10 @@ EOF</userinput></screen>
emulators. This gives the highlighting a better color scheme for use on the
black background of these programs.</para>
+ <para>Creating an empty <filename>~/.vimrc</filename> prevents vim from
+ overriding settings in <filename>/etc/vimrc</filename> by using
+ <filename>/usr/share/vim/vim80/defaults.vim</filename>.</para>
+
<para>Documentation for other available options can be obtained by
running the following command:</para>