From 73aedd1d35747ff2fad4ddf514dca810721a612a Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sat, 1 Nov 2003 22:31:50 +0000 Subject: Merging caption and installation sections for all packages in chapters 5 and 6. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/vim.xml | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) (limited to 'chapter06/vim.xml') diff --git a/chapter06/vim.xml b/chapter06/vim.xml index a35b54f8c..3c830af75 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -16,7 +16,43 @@ suggested installation instructions. &aa-vim-shortdesc; &aa-vim-dep; -&c6-vim-inst; -&c6-cf-vim; + +   + + +Installation of Vim + +Change the default locations of the vimrc and +gvimrc files to /etc. + +echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h +echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h + +Now prepare Vim for compilation: + +./configure --prefix=/usr + +Compile the package: + +make + +And install the package: + +make install + +Vim can run in old-fashioned vi mode by +creating a symlink, which may be created with the following command: + +ln -s vim /usr/bin/vi + +If you plan to install the X Window system on your LFS +system, you might want to re-compile Vim after you have installed X. Vim +comes with a nice GUI version of the editor which requires X and a few +other libraries to be installed. For more information read the Vim +documentation. + + + -- cgit v1.2.3-54-g00ecf