Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Making search highlight easier to see #6

wants to merge 1 commit into from

3 participants

Aaron Peschel Tim Pope Ju Liu
Aaron Peschel

The current colorscheme makes it difficult to see search highlighting on a black background. I have provided one possible solution to this problem.

Tim Pope
tpope commented

In my opinion, using grey makes it slightly easier to find, but slightly harder to read, and I favor the current implementation. What terminal are you using? Different terminals can have different color cubes, and I'm willing to take that into account.

Ju Liu
Arkham commented

I have noticed this problem aswell and I'm using iTerm2 with the default dark background palette. I've found with some tinkering that my personal sweet spot is 82 (since it doesn't conflict with visual highlight), let me show you some examples:

Using 81:
vividchalk search 81

Using 82:
vividchalk search 82

vividchalk search grey

Tim Pope
tpope commented

@Arkham iTerm2 supports 256 colors, yet the colors you cite hail from an 88 color terminal. What gives?

Ju Liu
Arkham commented

I'm not exactly sure, do you see something obvious in my .vimrc? (
I've also made a couple of screenshots of the vanilla vividchalk theme from iterm2 ( and macvim ( to show the color differences between the two. Am i doing something wrong? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 03, 2012
Made search highlight easier to see on black background. 84acc86
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  colors/vividchalk.vim
2  colors/vividchalk.vim
@@ -120,7 +120,7 @@ highlight Directory     none
120 120
 high link Directory     Identifier
121 121
 highlight ErrorMsg      guibg=Red ctermbg=DarkRed guifg=NONE ctermfg=NONE
122 122
 highlight Search        guifg=NONE ctermfg=NONE gui=none cterm=none
-call s:hibg("Search"    ,"#555555","DarkBlue",81)
+call s:hibg("Search"    ,"#555555","DarkBlue","grey")
124 124
 highlight IncSearch     guifg=White guibg=Black ctermfg=White ctermbg=Black
125 125
 highlight MoreMsg       guifg=#00AA00 ctermfg=Green
126 126
 highlight LineNr        guifg=#DDEEFF ctermfg=White

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.