Bug 65439
Summary: | vim defaults to color mode | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Joe Acosta <josepha48> |
Component: | vim | Assignee: | wdovlrrw <brosenkr> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-05-24 05:02:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joe Acosta
2002-05-24 05:02:23 UTC
syntax highlighting will stay as the default as this is easier for Linux newbies. You can turn this off by adding 'unalias vi' to your ~/.bashrc. Or you can add the following to your .vimrc and switch between the syntax modes with F7: :map <F7> :if exists("syntax_on") <Bar> \ syntax off <Bar> \ else <Bar> \ syntax enable <Bar> \ endif <CR> \ <CR> Additional way to fix this "problem". in ~/.vimrc (create if needed) put: set background=dark This will select a color palette that is more suitable for an xterm with a 'dark' background. One can also set this while running vim to temporarily change the color palette. Note that Redhat 7.x seems to have changed the default value for background from 'dark' to 'light' in vim. |