|
@@ -106,6 +106,9 @@ set nocompatible
|
|
|
set backspace=2
|
|
|
syntax on
|
|
|
set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable>
|
|
|
+if (&term == "iterm") || (&term == "putty")
|
|
|
+ set background=dark
|
|
|
+endif
|
|
|
|
|
|
" End /etc/vimrc
|
|
|
<userinput>EOF</userinput></screen>
|
|
@@ -126,6 +129,11 @@ like Fedora Core use UTF-8, and conservative ones like Debian
|
|
|
use traditional 8-bit encodings for text files. If you have not
|
|
|
passed the <option>--enable-multibyte</option> switch to the
|
|
|
<command>./configure</command> command above, this line will not work.
|
|
|
+Finally, the <emphasis>if</emphasis> statement with the
|
|
|
+<emphasis>set background=dark</emphasis> corrects <command>vim</command>'s
|
|
|
+guess about the background color of some terminal emulators. This gives the
|
|
|
+highliting a better color scheme for use on the black background of
|
|
|
+these programs.
|
|
|
</para>
|
|
|
|
|
|
<para>Documentation for other available options can be obtained by running
|