From 5897639a63b476759f18df9496b5d8d8844372fc Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 3 May 2017 21:28:38 +0000 Subject: 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 --- chapter06/vim.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chapter06/vim.xml') 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 -EOF +EOF + +touch ~/.vimrc The set nocompatible setting makes vim behave in a more useful way (the default) than the @@ -144,6 +146,10 @@ EOF emulators. This gives the highlighting a better color scheme for use on the black background of these programs. + Creating an empty ~/.vimrc prevents vim from + overriding settings in /etc/vimrc by using + /usr/share/vim/vim80/defaults.vim. + Documentation for other available options can be obtained by running the following command: -- cgit v1.2.3-54-g00ecf