2
votes
1answer
47 views

vim: Use different colorscheme when connected over SSH

On my desktop I use the hbrid color scheme in vim, with the preferred colors set for my consoles 16-color palette (as described in the README). However, on my laptop, I use the solarized color ...
1
vote
0answers
49 views

Why does vim color this .bashrc line incorrectly? Fixable?

I have the following line in my .bashrc that allows me to use rlwrap with sqlplus. Why does vim seem to color this wrong? alias sqlplus='rlwrap -c -f /usr/bin/rlwrap -b ...
6
votes
1answer
499 views

tmux, Vim and Solarized

Premises Browsing around tmux, Vim and Solarized I can find lots of complains about 256 colours and "user experience". Well, I'm having the opposite "problem", i.e. Vim works well with a full ...
9
votes
2answers
848 views

tmux, TERM and 256 colours support

Introduction My question arises from the necessity of understanding why I have now (after multiple trials) Terminal and tmux supporting 256 colours and tput colors telling me there are only 8 of ...
6
votes
1answer
167 views

How to highlight logs with bash coloring on vim?

I have some nicely colored logs from some tools with bash color codes. When I view them through less or similar tools it get color rendered by bash (obviously). However it is pain to watch and edit ...
3
votes
1answer
82 views

Use a custom colourscheme in Vim

I have customized a color profile for Vim (toto.vim) in the colors folder at : /usr/share/vim/vim74/colors Now, to use it, I am obliged to call it each time I start vim, using the command : ...
17
votes
5answers
2k views

vim - better colors so comments aren't dark blue?

Mostly I edit ruby files, although shell script file comments are also # Currently my comments show as dark blue on black which is really hard to read. See screenshot. How can I change their color? ...
5
votes
2answers
3k views

Change colors in console/virtual terminal

Is there a way to alter all the available colors in console / virtual terminal? By console, I mean what you get after pressing CTRL + ALT + F1 and not anything like xterm or urxvt. So, I guess that ...
13
votes
2answers
11k views

How do I get the solarized colour scheme working with gnome-terminal, tmux and vim?

There's a lot of questions around this, but it's because there are so many variables. I had to piece together instructions from many sites before I got this working. First, I could not easily set up ...
2
votes
1answer
54 views

Manipulate color in VIM

In hlsearch mode, seems that you can set only one color. Now I want to use a script to get multiple colors for multiple keywords, is that possible?
3
votes
0answers
773 views

ls and vim color on SunOS 5.8/Solaris 8

I want to use ls and vim with color on Sunos 5.8 SunOS 5.8 Generic_117350-11 sun4u sparc SUNW,Sun-Blade-2500 I have installed ls (GNU coreutils) 6.9 and vim 7.2 In ~/.cshrc: setenv TERM sun-color ...
1
vote
2answers
1k views

How to change variable color in vim solarized theme?

I have just installed solarized theme for vim from https://github.com/altercation/vim-colors-solarized But the problem for me is that the background stays black and I have the variable names in ...
1
vote
2answers
611 views

Loading a color scheme has no effect in Vim

I had selected some really smart looking color schemes for Vim here Following the instruction inside those files I've copied them in my $VIMRUNTIME/colors directory. When Vim is launched in normal ...
2
votes
1answer
493 views

Solarized color definitions in vimrc file

The solarized theme defines some base colors and assigns those to variables, as seen here. I would like to know how I can use these color definitions in my .vimrc file. Currently, I use pathogen to ...
1
vote
1answer
407 views

Unwanted text highlighting in Vim latex-suite

I have installed vim latex-suite. Whenever I type$$ to get inside math mode, as a side effect, it also highlights the last search term using /exp. What has caused this and how can I avoid this ...
4
votes
1answer
467 views

Is there a Vim syntax file for ANSI-colored output of CLI apps?

I have quite a lot of Perl scripts which print colored output to the terminal, using Term::ANSIColor. This is the same as when a shell script does e.g. echo -e '\e[1;31mError:\e[0m Your fault.' ...
11
votes
3answers
7k views

How to get VIM to display 256 colors properly

I'm trying to get 256 color theme files to work with VIM under xterm. This is peaksea how it looks for me: How it should look: I've tried following the tips on the wiki page to no avail. set ...
9
votes
1answer
944 views

How to have tail -f show colored output with vim?

In this question, Gilles answered Yet another possibility is to run tail -f in an Emacs shell buffer and use Emacs's syntax coloring abilities. Because I'm a vim user, I'd like to do this with ...
4
votes
2answers
1k views

No syntax coloring in vim for me, but ok for my students

My students get syntax coloring in vim, but I don't! Even when I "syntax on" as a command syntax on or put it in my .vimrc and/or .exrc. The terminal is xterm. I am missing something in vim or is ...
4
votes
1answer
712 views

How can I search for and highlight multiple strings in VIM?

In VIM, how can I search for multiple strings and have a different color highlight for each match?
12
votes
1answer
7k views

How to make Vim display colors as indicated by color codes?

In short, I'm in an effort to replace less with vim (vimpager). I have settings for scripts to spit out colors (and bold and everything nice) whenever they can. less understands the color codes and ...
6
votes
2answers
1k views

red-green color blindness compatible vim theme

I am looking for a vim theme accessible to users with red green color blindness. In particular, the red text on a dark terminal background all but disappears. Do any of you know of a good theme? Or ...