Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to load different VIM color schemes for different gnome-terminal profiles. It's indeed two questions:

  1. How to know the active profile name in a gnome-terminal session?

  2. How to test with environ variables in vimrc scripts?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.