Changeset b5b61fd for chapter06/vim.xml


Ignore:
Timestamp:
06/10/2004 08:18:07 AM (20 years ago)
Author:
Alexander E. Patrakov <alexander@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3546862
Parents:
186f9fc0
Message:

Various i18n-related changes to Vim. They need to be duplicated in BLFS also

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3772 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/vim.xml

    r186f9fc0 rb5b61fd  
    3636<title>Installation of Vim</title>
    3737
    38 <para>First change the default locations of the <filename>vimrc</filename> and
     38<para>First, unpack both
     39<filename>vim-&vim-version;.tar.bz2</filename> and (optionally)
     40<filename>vim-&vim-version;-lang.tar.gz</filename> archives into the same
     41directory. Then change the default locations of the <filename>vimrc</filename> and
    3942<filename>gvimrc</filename> configuration files to <filename class="directory">/etc</filename>.</para>
    4043
     
    4649<screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
    4750
    48 <para>The optional <userinput>--enable-multibyte</userinput> switch
    49 includes multibyte editing support into
    50 vim. It is only needed for those people who ignore our recommendation not to
    51 use LFS in locales with multibyte character sets, but it does not hurt
    52 others.</para>
     51<para>The optional but highly recommended
     52<userinput>--enable-multibyte</userinput> switch
     53includes support for editing files in multibyte character encodings into
     54vim. It is needed for those people who ignore our recommendation not to
     55use LFS in locales with multibyte character sets. It is also needed for
     56people who want to be able to edit text files initially created
     57in Linux distributions like Fedora Core
     58that use UTF-8 as a default character set.</para>
    5359
    5460<para>Compile the package:</para>
     
    100106syntax on
    101107set background=dark
     108set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable>
    102109
    103110" End /etc/vimrc
     
    113120highliting a better color scheme for use on the black background of a linux
    114121console.  If you later use X and terminals with a light background, changing
    115 this will be useful.</para>
     122this will be useful. The <emphasis>set fileencodings=...</emphasis> makes
     123<command>vim</command> capable of detecting the character set of the
     124file being edited. This is useful because bleeding-edge distributions
     125like Fedora Core use UTF-8, and conservative ones like Debian
     126use traditional 8-bit encodings for text files. If you have not
     127passed the <option>--enable-multibyte</option> switch to the
     128<command>./configure</command> command above, this line will not work.
     129</para>
    116130
    117131<para>Documentation for other available options can be obtained by running
Note: See TracChangeset for help on using the changeset viewer.