Devin Reade

GNO Consortium | Home | GNO/ME

System Administration | General Computing | Linux

Cryptography and Security | Physics Resources

Other Pages of Interest

Back to Expunging Redhat / Fedora / CentOS Annoyances


Getting Rid of Colour Highlighting in Editors

Emacs

In your $HOME/.emacs file, you probably have something like the following:

        ; Turn on font-lock mode for Emacs
        (cond ((not running-xemacs)
               (global-font-lock-mode t)
        ))

Comment it out using semicolons.

Vi

This is actually caused by the files /etc/profile.d/vim.* setting an alias for the command vi to point at vim. Just comment the alias lines in those files.

Commenting them out is better than deleting the files because the next time you do an update, you should wind up with either an .rpmnew or .rpmsave file. If you're smart, you've got a cron job looking for the existence of such files, and thus will be notified when the upgrade decides to reenable your vim aliases.


Contact me @ gdr at gno.org

Back to Expunging Redhat / Fedora / CentOS Annoyances

Last Updated: 21 Jan 2010