Re: Konsole color highlighting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Lemmons wrote:
What causes a konsole session to show or not show colors? I have one machine that "ls" will show color coded files and vi will show syntax highlighted text. On another machine everything is green.
Is vi an alias for vim/gvim? Which Fedora version?

I believe that in both cases this is due to configuration (either default or user specific). I'm not a KDE user but for a CLI window, bash reads and includes the contents of /etc/profile.d/colorls.sh which defines the colors used for ls. For GVIM, the colors I believe are dependent on whether you are running console (vim) or gui (gvim). I don't think console vim has color ability (that may have changed for later versions of vim, though). Start gvim and do :help syntax and you can start to learn all about it. In vim/gvim you can do a :version command and it will tell you where the initialization files are. You typically have to have "syntax on" in one of the startup gvimrc files for the color highlights to work (check out :help gvimrc). Some systems have this set up by default, others do not.

I'm sure there are others here that can give you a lot more detail.

--
--R
------------------------------------------------------------------------
/Linux, and Open Software, an alternative./
Registered Unix <http://counter.li.org> user #409453

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux