Changeset 56f967e for chapter06/vim.xml


Ignore:
Timestamp:
06/16/2004 09:44:35 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:
b19d1dae
Parents:
01b2d1b3
Message:

Temporarily commented out fileencodings in /etc/vimrc because of a bug

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/vim.xml

    r01b2d1b3 r56f967e  
    106106set backspace=2
    107107syntax on
    108 set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable>
     108<!-- set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable> -->
    109109if (&amp;term == "iterm") || (&amp;term == "putty")
    110110  set background=dark
     
    120120backspacing over line breaks, autoindents and the start of insert. The
    121121<emphasis>syntax on</emphasis> enables <command>vim</command>'s
    122 syntax highliting. The <emphasis>set fileencodings=...</emphasis> makes
     122syntax highliting.
     123<!-- XXX: the ascii-only files are considered to be in utf-8 - that's not what
     124one expects . That's why fileencodings stuff is commented out for now
     125
     126The <emphasis>set fileencodings=...</emphasis> makes
    123127<command>vim</command> capable of automatically detecting the character
    124128set of the file being edited (replace
     
    128132like Fedora Core use UTF-8, and conservative ones like Debian
    129133use traditional 8-bit encodings for text files. If you have not
    130 passed the <option>--enable-multibyte</option> switch to the
    131 <command>./configure</command> command above, this line will not work.
     134passed the <option>- -enable-multibyte</option> switch to the
     135<command>./configure</command> command above, this line will not work. -->
    132136Finally, the <emphasis>if</emphasis> statement with the
    133137<emphasis>set background=dark</emphasis> corrects <command>vim</command>'s
Note: See TracChangeset for help on using the changeset viewer.