aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
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>