sponsor Vim development Vim logo Vim Book Ad

primary.vim : Inspired by Google's official colors

 script karma  Rating 91/37, Downloaded by 4919  Comments, bugs, improvements  Vim wiki

created by
Lisie Michel
script type
color scheme
Primary is a Vim color scheme based on Google's colors.

For SCREENSHOTS (and much more), see

Primary contains settings for both light and dark backgrounds. It's is fun,
very readable, and Google-inspired.

The Gui version uses the exact RGB codes from Google's logo. Primary on a
256-color terminal looks very similar and even 8-color terminals are supported.

Disclaimer: This is not an official Google product (experimental or otherwise),
it is just code that happens to be owned by Google.
install details
Download primary.vim and copy it into your .vim/colors directory.

To set Primary as your default color scheme, add these lines to your .vimrc
  syntax enable
  set t_Co=256
  set background=light
  colorscheme primary

To use Primary in dark mode, change the third line to  set background=dark.

For more options and details, see the documentation in the Git repo:

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
primary.vim 1.2 2015-09-10 7.0 Lisie Michel Updated colors to match Google's new logo.
primary.vim 1.1 2015-05-11 7.0 Lisie Michel Bug fix: Updated black and white color values in 256-color mode so that they are independent of the terminal color settings.
primary.vim 1.0 2015-04-23 7.0 Lisie Michel Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github