glfs/postlfs/editors/vim.xml

69 lines
2.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY vim-download-http "http://ftp.at.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
<!ENTITY vim-download-ftp "ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
<!ENTITY vim-size "3.2 MB">
<!ENTITY vim-buildsize "46 MB">
<!ENTITY vim-time "0.59 SBU">
]>
<sect1 id="postlfs-editors-vim" xreflabel="Vim-&vim-version;">
<?dbhtml filename="vim.html"?>
<title>Vim-&vim-version;</title>
<sect2>
<title>Installation of <application>Vim</application></title>
<note><para>If you recompile vim to link against <application>X</application>,
and your X libs are not on the root partition, you will no longer have
an editor for use in emergencies. You may choose to install an additional editor,
not link vim against X, or move the current <command>vim</command> executable to the
<filename>/bin</filename> directory under a different name such as <filename>vi</filename>.</para></note>
<para>Install <application>Vim</application> by running the following commands:</para>
<screen><userinput><command>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h &amp;&amp;
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
./configure --prefix=/usr \
--with-features=huge &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<para><parameter>--with-features=huge</parameter>: This switch enables all the additional
features available in <application>Vim</application>.</para>
<para><parameter>--enable-gui=no</parameter>: If you prefer not to link vim against X, use
this switch.</para>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>Vim</application> package contains
<command>eview</command>, <command>evim</command>,
<command>ex</command>, <command>gview</command>,
<command>gvim</command>, <command>gvimdiff</command>,
<command>rgview</command>, <command>rgvim</command>,
<command>rview</command>, <command>rvim</command>,
<command>view</command>, <command>vim</command>,
<command>vimdiff</command>, <command>vimtutor</command> and
<command>xxd</command>. Except for <command>vimtutor</command> and
<command>xxd</command>, all the other commands are symlinks to
<command>vim</command> and start <command>vim</command> with different
options. <command>vimtutor</command> is a tool to learn the various
<command>vim</command> commands and <command>xxd</command> is a command used to create hex dumps.</para>
</sect2>
</sect1>