From 4d6fc2dabb417f72752429222a3698ecc8a3c537 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 27 Oct 2001 22:21:44 +0000 Subject: [Bug 164] XML Tidy up git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1329 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/vim-inst.xml | 63 ++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 33 deletions(-) (limited to 'chapter06/vim-inst.xml') diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml index 1e25a0f17..176ff9300 100644 --- a/chapter06/vim-inst.xml +++ b/chapter06/vim-inst.xml @@ -9,21 +9,21 @@ which are currently available are for Emacs, Joe and nano. Install Vim by running the following commands: -sed '/shUntil\|link shRepeat/{ -   /shUntil/N -   /^/i\ -   if exists("b:is_kornshell") || exists("b:is_bash") -   p -   /$/i\ -   endif -   d -   }' runtime/syntax/sh.vim > sh.vim.fixed && -mv sh.vim.fixed runtime/syntax/sh.vim && -./configure --prefix=/usr && -make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && -make install && -cd /usr/bin && -ln -sf vim vi +sed '/shUntil\|link shRepeat/{ +   /shUntil/N +   /^/i\ +   if exists("b:is_kornshell") || exists("b:is_bash") +   p +   /$/i\ +   endif +   d +   }' runtime/syntax/sh.vim > sh.vim.fixed && +mv sh.vim.fixed runtime/syntax/sh.vim && +./configure --prefix=/usr && +make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && +make install && +cd /usr/bin && +ln -sf vim vi If you plan on installing the X Window system on your LFS system, you might want to re-compile Vim after you have installed X. Vim @@ -41,24 +41,21 @@ for their temporary state files, like temporary save files for example. If you wish vim to conform to the FHS, you should use this command set instead of the one presented above: -sed '/shUntil\|link shRepeat/{ -   /shUntil/N -   /^/i\ -   if exists("b:is_kornshell") || -exists("b:is_bash") -   p -   /$/i\ -   endif -   d -   }' runtime/syntax/sh.vim > sh.vim.fixed -&& -mv sh.vim.fixed runtime/syntax/sh.vim && -./configure --prefix=/usr --localstatedir=/var/lib/vim && -make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" -&& -make install && -cd /usr/bin && -ln -sf vim vi +sed '/shUntil\|link shRepeat/{ +   /shUntil/N +   /^/i\ +   if exists("b:is_kornshell") || exists("b:is_bash") +   p +   /$/i\ +   endif +   d +   }' runtime/syntax/sh.vim > sh.vim.fixed && +mv sh.vim.fixed runtime/syntax/sh.vim && +./configure --prefix=/usr --localstatedir=/var/lib/vim && +make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" && +make install && +cd /usr/bin && +ln -sf vim vi -- cgit v1.2.3-54-g00ecf