aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml135
1 files changed, 8 insertions, 127 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index a1f4d32fd..67d873a1a 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -59,7 +59,7 @@
</para>
<screen><userinput remap="pre">patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
-
+<!--
<para>This version of Vim installs translated man pages and places
them into directories that will not be searched by Man-DB. Patch Vim
so that it installs its man pages into searchable directories and
@@ -67,8 +67,8 @@
at run-time:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&vim-mandir-patch;</userinput></screen>
-
- <para>Finally, change the default location of the
+-->
+ <para>Change the default location of the
<filename>vimrc</filename> configuration file to <filename
class="directory">/etc</filename>:</para>
@@ -117,8 +117,8 @@
languages:</para>
<screen><userinput remap="install">ln -sv vim /usr/bin/vi
-for L in "" fr it pl ru; do
- ln -sv vim.1 /usr/share/man/$L/man1/vi.1
+for L in /usr/share/man/{,*/}man1/vim.1; do
+ ln -sv vim.1 $(dirname $L)/vi.1
done</userinput></screen>
<para>By default, Vim's documentation is installed in <filename
@@ -213,10 +213,9 @@ set spell</literal></screen>
<segtitle>Installed programs</segtitle>
<seglistitem>
- <seg>efm_filter.pl, efm_perl.pl, ex (link to vim), less.sh, mve.awk,
- pltags.pl, ref, rview (link to vim), rvim (link to vim), shtags.pl,
- vi (link to vim), view (link to vim), vim, vim132, vim2html.pl,
- vimdiff (link to vim), vimm, vimspell.sh, vimtutor, and xxd</seg>
+ <seg>ex (link to vim), rview (link to vim), rvim (link to vim),
+ vi (link to vim), view (link to vim), vim,
+ vimdiff (link to vim), vimtutor, and xxd</seg>
</seglistitem>
</segmentedlist>
@@ -225,28 +224,6 @@ set spell</literal></screen>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
- <varlistentry id="efm_filter.pl">
- <term><command>efm_filter.pl</command></term>
- <listitem>
- <para>A filter for creating an error file that can be read
- by <command>vim</command></para>
- <indexterm zone="ch-system-vim efm_filter.pl">
- <primary sortas="b-efm_filter.pl">efm_filter.pl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="efm_perl.pl">
- <term><command>efm_perl.pl</command></term>
- <listitem>
- <para>Reformats the error messages of the Perl interpreter for use
- with the <quote>quickfix</quote> mode of <command>vim</command></para>
- <indexterm zone="ch-system-vim efm_perl.pl">
- <primary sortas="b-efm_perl.pl">efm_perl.pl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="ex">
<term><command>ex</command></term>
<listitem>
@@ -257,47 +234,6 @@ set spell</literal></screen>
</listitem>
</varlistentry>
- <varlistentry id="less.sh">
- <term><command>less.sh</command></term>
- <listitem>
- <para>A script that starts <command>vim</command> with less.vim</para>
- <indexterm zone="ch-system-vim less.sh">
- <primary sortas="b-less.sh">less.sh</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="mve.awk">
- <term><command>mve.awk</command></term>
- <listitem>
- <para>Processes <command>vim</command> errors</para>
- <indexterm zone="ch-system-vim mve.awk">
- <primary sortas="b-mve.awk">mve.awk</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="pltags.pl">
- <term><command>pltags.pl</command></term>
- <listitem>
- <para>Creates a tags file for Perl code for use by
- <command>vim</command></para>
- <indexterm zone="ch-system-vim pltags.pl">
- <primary sortas="b-pltags.pl">pltags.pl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="ref">
- <term><command>ref</command></term>
- <listitem>
- <para>Checks the spelling of arguments</para>
- <indexterm zone="ch-system-vim ref">
- <primary sortas="b-ref">ref</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="rview">
<term><command>rview</command></term>
<listitem>
@@ -322,16 +258,6 @@ set spell</literal></screen>
</listitem>
</varlistentry>
- <varlistentry id="shtags.pl">
- <term><command>shtags.pl</command></term>
- <listitem>
- <para>Generates a tags file for Perl scripts</para>
- <indexterm zone="ch-system-vim shtags.pl">
- <primary sortas="b-shtags.pl">shtags.pl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="vi">
<term><command>vi</command></term>
<listitem>
@@ -362,28 +288,6 @@ set spell</literal></screen>
</listitem>
</varlistentry>
- <varlistentry id="vim132">
- <term><command>vim132</command></term>
- <listitem>
- <para>Starts <command>vim</command> with the terminal in 132-column
- mode</para>
- <indexterm zone="ch-system-vim vim132">
- <primary sortas="b-vim132">vim132</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="vim2html.pl">
- <term><command>vim2html.pl</command></term>
- <listitem>
- <para>Converts Vim documentation to HypterText Markup Language
- (HTML)</para>
- <indexterm zone="ch-system-vim vim2html.pl">
- <primary sortas="b-vim2html.pl">vim2html.pl</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="vimdiff">
<term><command>vimdiff</command></term>
<listitem>
@@ -395,29 +299,6 @@ set spell</literal></screen>
</listitem>
</varlistentry>
- <varlistentry id="vimm">
- <term><command>vimm</command></term>
- <listitem>
- <para>Enables the DEC locator input model on a remote terminal</para>
- <indexterm zone="ch-system-vim vimm">
- <primary sortas="b-vimm">vimm</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
- <varlistentry id="vimspell.sh">
- <term><command>vimspell.sh</command></term>
- <listitem>
- <para>Spell checks a file and generates the syntax statements
- necessary to highlight in <command>vim</command>. This script
- requires the old Unix <command>spell</command> command, which
- is provided neither in LFS nor in BLFS</para>
- <indexterm zone="ch-system-vim vimspell.sh">
- <primary sortas="b-vimspell.sh">vimspell.sh</primary>
- </indexterm>
- </listitem>
- </varlistentry>
-
<varlistentry id="vimtutor">
<term><command>vimtutor</command></term>
<listitem>