source: postlfs/editors/vim.xml@ b5951ec

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b5951ec was b5951ec, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

New XML Chapter 6

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2294 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY vim-download-http "http://ftp.at.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
8 <!ENTITY vim-download-ftp "ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
9 <!ENTITY vim-size "3.2 MB">
10 <!ENTITY vim-buildsize "46 MB">
11 <!ENTITY vim-time "0.59 SBU">
12]>
13
14<sect1 id="postlfs-editors-vim" xreflabel="Vim-&vim-version;">
15<?dbhtml filename="vim.html"?>
16<title>Vim-&vim-version;</title>
17
18<sect2>
19<title>Installation of <application>Vim</application></title>
20
21<note><para>If you recompile vim to link against <application>X</application>,
22and your X libs are not on the root partition, you will no longer have
23an editor for use in emergencies. You may choose to install an additional editor,
24not link vim against X, or move the current <command>vim</command> executable to the
25<filename>/bin</filename> directory under a different name such as <filename>vi</filename>.</para></note>
26
27<para>Install <application>Vim</application> by running the following commands:</para>
28
29<screen><userinput><command>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h &amp;&amp;
30echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
31./configure --prefix=/usr \
32 --with-features=huge &amp;&amp;
33make &amp;&amp;
34make install</command></userinput></screen>
35
36</sect2>
37
38<sect2>
39<title>Installation of <application>Vim</application></title>
40
41<note><para>If you recompile vim to link against <application>X</application>,
42and your X libs are not on the root partition, you will no longer have
43an editor for use in emergencies. You may choose to install an additional editor,
44not link vim against X, or move the current <command>vim</command> executable to the
45<filename>/bin</filename> directory under a different name such as <filename>vi</filename>.</para></note>
46
47<para>Install <application>Vim</application> by running the following commands:</para>
48
49<screen><userinput><command>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h &amp;&amp;
50echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
51./configure --prefix=/usr \
52 --with-features=huge &amp;&amp;
53make &amp;&amp;
54make install</command></userinput></screen>
55
56</sect2>
57
58<sect2>
59<title>Command explanations</title>
60
61<para><parameter>--with-features=huge</parameter>: This switch enables all the additional
62features available in <application>Vim</application>.</para>
63
64<para><parameter>--enable-gui=no</parameter>: If you prefer not to link vim against X, use
65this switch.</para>
66
67</sect2>
68
69<sect2>
70<title>Contents</title>
71
72<para>The <application>Vim</application> package contains
73<command>eview</command>, <command>evim</command>,
74<command>ex</command>, <command>gview</command>,
75<command>gvim</command>, <command>gvimdiff</command>,
76<command>rgview</command>, <command>rgvim</command>,
77<command>rview</command>, <command>rvim</command>,
78<command>view</command>, <command>vim</command>,
79<command>vimdiff</command>, <command>vimtutor</command> and
80<command>xxd</command>. Except for <command>vimtutor</command> and
81<command>xxd</command>, all the other commands are symlinks to
82<command>vim</command> and start <command>vim</command> with different
83options. <command>vimtutor</command> is a tool to learn the various
84<command>vim</command> commands and <command>xxd</command> is a command used to create hex dumps.</para>
85
86</sect2>
87
88</sect1>
Note: See TracBrowser for help on using the repository browser.