This is guide, howto enable Vi and Vim text editor syntax Highlighting on Fedora / CentOS / Red Hat (RHEL). Actually on Fedora, CentOS and Red Hat (RHEL) does only have Vim (Vi IMproved), but if you run vi command it works, because it runs small/minimal version of Vim, which is like original Vi.
I have seen too many guides howto enable Vi/Vim syntax highlighting, which says that you can turn syntax highlighting on/off with using :syntax on and :syntax off. It’s almost true, but actually on Fedora, CentOS and RHEL you can’t turn Vi syntax highlighting on with any command, because Vi (Vim minimal) does not have syntax highlighting feature included.
I like very much Ethan Schoonover Solarized color palette. So I decided write a guide, howto get Solarized colors to most commonly used Linux terminals (Gnome-Terminal, Konsole, XFCE Terminal, Mate-Terminal), Text editors (Gedit, Vim) and IDEs (Eclipse, NetBeans). These are not my projects, so the greatest honor belongs, of course, these projects owners and Ethan Schoonover.
1. Install Needed Tools (git, mercurial, 7-zip) 2. Create and Change to Solarized Directory 3. Solarized Terminals 3.1 Solarized Gnome-Terminal 3.2 Solarized Konsole 3.3 Solarized Terminal (XFCE Terminal) 3.4 Solarized Mate-Terminal 4. Solarized Editors 4.1 Solarized Gedit 4.2 Solarized Vim 5. Solarized IDEs 5.1 Solarized Eclipse 5.2 Solarized NetBeans 1. Install Needed Tools (git, mercurial, 7-zip) This is normally easiest do with you package management system, like: