All Projects → ackyshake → Spacegray.vim

ackyshake / Spacegray.vim

A Vim color scheme loosely based on the Spacegray Xcode theme.

Labels

Projects that are alternatives of or similar to Spacegray.vim

Blamer.nvim
A git blame plugin for neovim inspired by VS Code's GitLens plugin
Stars: ✭ 283 (-22.68%)
Mutual labels:  viml
Pear Tree
A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more
Stars: ✭ 327 (-10.66%)
Mutual labels:  viml
Vim Two Firewatch
A blend between duotone light and firewatch for atom
Stars: ✭ 345 (-5.74%)
Mutual labels:  viml
Vim Buffet
IDE-like Vim tabline
Stars: ✭ 304 (-16.94%)
Mutual labels:  viml
Vim Textobj Rubyblock
A custom text object for selecting ruby blocks.
Stars: ✭ 321 (-12.3%)
Mutual labels:  viml
Vim2hs
vim2hs :: Vim -> Haskell
Stars: ✭ 332 (-9.29%)
Mutual labels:  viml
Elm.vim
Vim plugin for the Elm programming language
Stars: ✭ 286 (-21.86%)
Mutual labels:  viml
Vim Tags
Ctags generator for Vim
Stars: ✭ 356 (-2.73%)
Mutual labels:  viml
Taskpaper.vim
This package contains a syntax file and a file-type plugin for the simple format used by the TaskPaper application.
Stars: ✭ 325 (-11.2%)
Mutual labels:  viml
Xterm Color Table.vim
All 256 xterm colors with their RGB equivalents, right in Vim!
Stars: ✭ 344 (-6.01%)
Mutual labels:  viml
Vim Config
my vim config to share amongst my machines
Stars: ✭ 312 (-14.75%)
Mutual labels:  viml
Molokai
Molokai color scheme for Vim
Stars: ✭ 3,349 (+815.03%)
Mutual labels:  viml
Vim Misc
Miscellaneous auto-load Vim scripts
Stars: ✭ 334 (-8.74%)
Mutual labels:  viml
Vim Phpqa
PHP QA tools for Vim
Stars: ✭ 296 (-19.13%)
Mutual labels:  viml
Winresizer
very simple vim plugin for easy resizing of your vim windows
Stars: ✭ 353 (-3.55%)
Mutual labels:  viml
Rust.vim
Vim support for Rust file detection and syntax highlighting.
Stars: ✭ 288 (-21.31%)
Mutual labels:  viml
Lavalamp
A text editor theme that visually differentiates languages.
Stars: ✭ 328 (-10.38%)
Mutual labels:  viml
Eddie Vim
Yet another vimrc
Stars: ✭ 365 (-0.27%)
Mutual labels:  viml
Python Syntax
Python syntax highlighting script for Vim
Stars: ✭ 354 (-3.28%)
Mutual labels:  viml
Vimroom
Simulating a vaguely WriteRoom-like environment in Vim.
Stars: ✭ 338 (-7.65%)
Mutual labels:  viml

Spacegray.vim

Spacegray is a colorscheme for Vim loosely modeled after the spacegray theme for Xcode.

Options

You can tweak Spacegray by enabling the following disabled options:

  1. Underlined Search: Underline search text instead of using highlight color. Put the following in your ~/.vimrc to enable it:

let g:spacegray_underline_search = 1

  1. Use Italics: Use italics when appropriate, e.g. for comments. (note: terminal must support italics). Put the following in your ~/.vimrc to enable it:

let g:spacegray_use_italics = 1

  1. Use lower contrast: Use a low contrast variant of Spacegray. Put the following in your ~/.vimrc to enable it:

let g:spacegray_low_contrast = 1

Screenshots

Syntax Groups

Syntax Groups

Spacegray Low Contrast

Spacegray Low Contrast

Spacegray Dark

Spacegray Dark

Installation

If you use Vim 8 or better, simply copy and paste:

git clone git://github.com/ajh17/Spacegray.vim ~/.vim/pack/vendor/start/Spacegray

Then in your ~/.vimrc, add this line:

colorscheme spacegray

Terminal Environment

If you use Spacegray inside a Terminal, please make sure you use a Terminal with 256 color support. Most these days are. Ensure that the default TERM contains the string 256color. An example would be xterm-256color or if using tmux or screen, screen-256color.

NOTE: If you use Vim 7.4.1778 or higher, you can now use Spacegray's GUI colors inside terminal Vim as long as your terminal supports true colors (24-bit colors). To enable this, put :set termguicolors and ignore the rest of the terminal color sections of this document.

Terminal Color Palette

Spacegray will look good in a dark terminal colorscheme, but if you use Spacegray's color palette, it will look beautiful.

Terminal Colorschemes

On OS X, colorschemes for iTerm2 and Terminal.app are provided with the download. Simply double click to install.

Terminator

Spacegray.terminator is provided for Terminator and can be installed by copying to ~/.config/terminator/config on Linux or $XDG_CONFIG_HOME/terminator/config if you're running OS X.

Gnome Terminal

For gnome terminal, you can configure the terminal with the following set of gsettings commands:

profile_key=$(gsettings get org.gnome.Terminal.ProfilesList default | sed -e "s/'//g" | tr -d "\n")
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:$profile_key/ visible-name "'Spacegray'"
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:$profile_key/ background-color "'rgb(17,19,20)'"
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:$profile_key/ foreground-color "'rgb(183,187,183)'"
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:$profile_key/ use-theme-colors "false"
gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:$profile_key/ palette "['rgb(44,47,51)', 'rgb(176,76,80)', 'rgb(145,150,82)', 'rgb(226,153,92)', 'rgb(102,137,157)', 'rgb(141,100,148)', 'rgb(82,124,119)', 'rgb(96,99,96)', 'rgb(75,80,86)', 'rgb(176,76,80)', 'rgb(148,152,91)', 'rgb(226,153,92)', 'rgb(102,137,157)', 'rgb(141,100,148)', 'rgb(82,124,119)', 'rgb(221,227,220)']"

gnome-terminal should then immediately reflect Spacegray colors.

Xcode

Use Xcode? Try out Spacegray-Xcode.

Xresources

For Linux/BSD users, here is a sample ~/.Xresources:

*background: #111314
*foreground: #B7BBB7
! black
*color0: #2C2F33
*color8: #4B5056
! red
*color1: #B04C50
*color9: #B04C50
! green
*color2: #919652
*color10: #94985B
! yellow
*color3: #E2995C
*color11: #E2995C
! blue
*color4: #66899D
*color12: #66899D
! magenta
*color5: #8D6494
*color13: #8D6494
! cyan
*color6: #527C77
*color14: #527C77
! white
*color7: #606360
*color15: #DDE3DC

For lower contrast Spacegray, use a background color of #242424

License

Copyright (c) Akshay Hegde. Distributed under the same terms as Vim itself. See :help license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].