diff options
author | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
---|---|---|
committer | Alex Gronenwoud <alex@linuxfromscratch.org> | 2003-11-01 22:31:50 +0000 |
commit | 73aedd1d35747ff2fad4ddf514dca810721a612a (patch) | |
tree | d05f8b503f210d7248c2b2abea9e5528fc04d90a /chapter06/vim.xml | |
parent | 0b400add2ba87352e955326bcb931e53864cc2ae (diff) |
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
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r-- | chapter06/vim.xml | 40 |
1 files changed, 38 insertions, 2 deletions
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.</para> &aa-vim-shortdesc; &aa-vim-dep; -&c6-vim-inst; -&c6-cf-vim; + +<sect2><title> </title><para> </para></sect2> + +<sect2> +<title>Installation of Vim</title> + +<para>Change the default locations of the <filename>vimrc</filename> and +<filename>gvimrc</filename> files to <filename +class="directory">/etc</filename>.</para> + +<screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h +echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h</userinput></screen> + +<para>Now prepare Vim for compilation:</para> + +<screen><userinput>./configure --prefix=/usr</userinput></screen> + +<para>Compile the package:</para> + +<screen><userinput>make</userinput></screen> + +<para>And install the package:</para> + +<screen><userinput>make install</userinput></screen> + +<para>Vim can run in old-fashioned <emphasis>vi</emphasis> mode by +creating a symlink, which may be created with the following command:</para> + +<screen><userinput>ln -s vim /usr/bin/vi</userinput></screen> + +<para>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.</para> + +</sect2> </sect1> + |