From 24789dafc15545aebe50be398cbd947fde3d4fc2 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Sun, 23 May 2004 20:18:34 +0000 Subject: Added a set background=dark option to vim's configuration - makes it look MUCH better on the dark background of a linux console screen git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3702 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/vim.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chapter06') diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 5787a793d..7b1b2d7fc 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -98,6 +98,7 @@ the following: set nocompatible set backspace=2 syntax on +set background=dark " End /etc/vimrc EOF @@ -108,7 +109,10 @@ vi-compatible manner. Remove the "no" if you want the old vi behavior. The set backspace=2 allows backspacing over line breaks, autoindents and the start of insert. The syntax on enables vim's -semantic coloring. +syntax highliting, while set background=dark gives the +highliting a better color scheme for use on the black background of a linux +console. If you later use X and terminals with a light background, changing +this will be useful. Documentation for other available options can be obtained by running the following command: -- cgit v1.2.3-54-g00ecf