Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EasyMotion coloring in vim with Solarized theme?

Tags:

vim

themes

I'm using the Solarized theme for vim (which is amazing), but the color defaults for EasyMotion are, well, downright unreadable.

When I activate EasyMotion, the leader letters are clearly visible (bright red, with Solarized Dark), but the words they key to are barely a shade different from the background (dark blue against slightly darker blue background).

How can I change this to be more readable?


SOLUTION: Edit your .vimrc file like so:

" change the default EasyMotion shading to something more readable with Solarized
hi link EasyMotionTarget ErrorMsg
hi link EasyMotionShade  Comment

A la section 4.5 in the docs for the plugin.

like image 235
neezer Avatar asked May 25 '11 15:05

neezer


1 Answers

The author of EasyMotion has written excellent documentation on what is possible with EasyMotion. The helptags that stand out to me are EasyMotion_do_shade and easymotion-custom-hl. These define whether or not to highlight the shaded text and how to hilight the shaded and target text.

like image 62
Randy Morris Avatar answered Oct 29 '22 13:10

Randy Morris