Changeset 8557cab
- Timestamp:
- 12/31/2016 05:46:32 PM (7 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, 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:
- 512c848
- Parents:
- 9742edf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/vim.xml
r9742edf r8557cab 120 120 set nocompatible 121 121 set backspace=2 122 set mouse=r 122 123 syntax on 123 124 if (&term == "iterm") || (&term == "putty") … … 125 126 endif 126 127 128 127 129 " End /etc/vimrc</literal> 128 130 EOF</userinput></screen> 129 131 130 132 <para>The <parameter>set nocompatible</parameter> setting makes 131 <command>vim</command> behave in a more useful way (the default) than 132 the vi-compatible manner. Remove the <quote>no</quote> to keep the 133 old <command>vi</command> behavior. The <parameter>set 134 backspace=2</parameter> setting allows backspacing over line breaks, 135 autoindents, and the start of insert. The <parameter>syntax 136 on</parameter> parameter enables vim's syntax highlighting. Finally, 137 the <emphasis>if</emphasis> statement with the <parameter>set 138 background=dark</parameter> setting corrects <command>vim</command>'s 139 guess about the background color of some terminal emulators. This 140 gives the highlighting a better color scheme for use on the black 141 background of these programs.</para> 133 <command>vim</command> behave in a more useful way (the default) than the 134 vi-compatible manner. Remove the <quote>no</quote> to keep the old 135 <command>vi</command> behavior. The <parameter>set backspace=2</parameter> 136 setting allows backspacing over line breaks, autoindents, and the start of 137 insert. The <parameter>syntax on</parameter> parameter enables vim's syntax 138 highlighting. The <parameter>set mouse=r</parameter> setting enables 139 proper pasting of text with the mouse when working in chroot or over a 140 remote connection. Finally, the <emphasis>if</emphasis> statement with the 141 <parameter>set background=dark</parameter> setting corrects 142 <command>vim</command>'s guess about the background color of some terminal 143 emulators. This gives the highlighting a better color scheme for use on the 144 black background of these programs.</para> 142 145 143 146 <para>Documentation for other available options can be obtained by
Note:
See TracChangeset
for help on using the changeset viewer.