Ignore:
Timestamp:
01/15/2007 01:06:46 AM (15 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
597caf43
Parents:
35bd241
Message:

Added additional text to vim

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/editors/vim.xml

    r35bd241 r95799899  
    144144<screen role="root"><userinput>make install</userinput></screen>
    145145
     146    <para>By default, Vim's documentation is installed in <filename
     147    class="directory">/usr/share/vim</filename>.  The following symlink allows
     148    the documentation to be accessed via <filename
     149    class="directory">/usr/share/doc/vim-7.0</filename>, making it consistent
     150    with the location of documentation for other packages:</para>
     151 
     152<screen role="root"><userinput>ln -snfv ../vim/vim70/doc /usr/share/doc/vim-7.0</userinput></screen>
     153
    146154  </sect2>
    147155
     
    165173    this switch.</para>
    166174
     175    <para><option>--enable-perlinterp</option>, <option>--enable-pythoninterp</option>,
     176    <option>--enable-tclinterp</option>, <option>--enable-rubyinterp</option>:
     177    Thses options include the Perl, Python, Tcl, or Ruby interpreters that allow
     178    using other application code in <application>vim</application> scripts.</para>
     179   
     180  </sect2>
     181
     182  <sect2 role="configuration">
     183    <title>Configuring Vim</title>
     184
     185    <sect3 id='vim-config'>
     186      <title>Config Files</title>
     187
     188      <para><filename>/etc/vimrc</filename> and
     189      <filename>~/.vimrc</filename></para>
     190
     191      <indexterm zone="vim vim-config">
     192        <primary sortas="e-etc-vimrc">/etc/vimrc</primary>
     193      </indexterm>
     194
     195      <indexterm zone="vim vim-config">
     196        <primary sortas="e-AA.vimrc">~/.vimrc</primary>
     197      </indexterm>
     198
     199    </sect3>
     200
     201    <sect3 id='vim-init'>
     202      <title>Configuration Information</title>
     203
     204      <para><application>Vim-7.0</application> introduced an
     205      integrated spell checker that doesn't requires additional libraries to be
     206      installed.  To enable the spell checker you can set the following in
     207      one of the configuration files: </para>
     208     
     209<screen><literal>set spell
     210spelllang=en,ru</literal></screen>
     211     
     212      <para>By default, <application>Vim</application> only installs spell
     213      files for the English language.  If a spell file is not available for
     214      your language, then <application>Vim</application> will call
     215      <filename>$VIMRUNTIME/plugin/spellfile.vim</filename> and will try to
     216      obtain the *.spl and optionally *.sug from the vim ftp server, using the
     217      <filename>$VIMRUNTIME/plugin/netrw</filename> plugin.</para>
     218   
     219      <para>Alternatively you can manually download the *.spl and *.sug files
     220      from: <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save
     221      them to <filename class="directory"> ~/.vim/spell </filename> or in
     222      <filename class="directory">
     223      /usr/share/vim/vim70/spell/</filename>.</para>
     224   
     225      <para>For more information about the spell checker and some other
     226      features in  <application>Vim-&vim-version;</application> (such us
     227      vimgrep, tab-pages, and omni-completion), issue the following command inside
     228      <application>Vim</application>:</para>
     229
     230<screen><literal>:help version7</literal></screen>
     231
     232      <para>For additional information on setting up
     233      <application>Vim</application> configuration files, see <xref
     234      linkend="postlfs-config-vimrc"/> and <ulink
     235      url='http://www.vi-improved.org/vimrc.php'/>.  </para>
     236
     237    </sect3>
     238
    167239  </sect2>
    168240
     
    171243
    172244    <para>A list of the reinstalled files, along with their short
    173     descriptions can be found at <ulink
    174     url="&lfs-root;/chapter06/vim.html#contents-vim"/>.</para>
     245    descriptions can be found in the <ulink
     246    url="&lfs-root;/chapter06/vim.html#contents-vim">LFS Vim Installation
     247    Instrutions</ulink></para>
    175248
    176249    <segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.