Changeset b5b61fd for chapter06/vim.xml
- Timestamp:
- 06/10/2004 08:18:07 AM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/vim.xml
r186f9fc0 rb5b61fd 36 36 <title>Installation of Vim</title> 37 37 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 41 directory. Then change the default locations of the <filename>vimrc</filename> and 39 42 <filename>gvimrc</filename> configuration files to <filename class="directory">/etc</filename>.</para> 40 43 … … 46 49 <screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen> 47 50 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 53 includes support for editing files in multibyte character encodings into 54 vim. It is needed for those people who ignore our recommendation not to 55 use LFS in locales with multibyte character sets. It is also needed for 56 people who want to be able to edit text files initially created 57 in Linux distributions like Fedora Core 58 that use UTF-8 as a default character set.</para> 53 59 54 60 <para>Compile the package:</para> … … 100 106 syntax on 101 107 set background=dark 108 set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable> 102 109 103 110 " End /etc/vimrc … … 113 120 highliting a better color scheme for use on the black background of a linux 114 121 console. If you later use X and terminals with a light background, changing 115 this will be useful.</para> 122 this will be useful. The <emphasis>set fileencodings=...</emphasis> makes 123 <command>vim</command> capable of detecting the character set of the 124 file being edited. This is useful because bleeding-edge distributions 125 like Fedora Core use UTF-8, and conservative ones like Debian 126 use traditional 8-bit encodings for text files. If you have not 127 passed the <option>--enable-multibyte</option> switch to the 128 <command>./configure</command> command above, this line will not work. 129 </para> 116 130 117 131 <para>Documentation for other available options can be obtained by running
Note:
See TracChangeset
for help on using the changeset viewer.