Giter Club home page Giter Club logo

vim-hybrid-material's Introduction

vim-hybrid-material

Material color scheme for Vim based on w0ng/vim-hybrid color scheme.

It includes 2 color schemes:

Both schemes are almost similar to w0ng/vim-hybrid, just some colors are switched (Purple with red), to look more like tomorrow-night.

Installation

  • Pathogen
  • git clone https://github.com/kristijanhusak/vim-hybrid-material ~/.vim/bundle/vim-hybrid-material
  • Remember to run :Helptags to generate help tags
  • NeoBundle
  • NeoBundle 'kristijanhusak/vim-hybrid-material'
  • Vundle
  • Plugin 'kristijanhusak/vim-hybrid-material'
  • Plug
  • Plug 'kristijanhusak/vim-hybrid-material'
  • manual
  • copy all of the files from colors directory into your ~/.vim/colors directory

Options

If you would like some of the code to be bolded, like functions and language controls, add this option to vimrc:

let g:enable_bold_font = 1

If you want comments to be in italic, also add this:

let g:enable_italic_font = 1

To use transparent background, add this option:

let g:hybrid_transparent_background = 1

Note: Options must be set before colorscheme hybrid_material statement.

Hybrid Material

Based on equinusocio/material-theme.

hybrid-material

True colors are a requirement for this color scheme to work properly. To enable this, place the following in your ~/.vimrc or ~/.config/nvim/init.vim file:

if (has("nvim"))
  "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
  let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif

"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
  set termguicolors
endif
GVim/MacVim

Only add this to .vimrc after installation:

set background=dark
colorscheme hybrid_material
Vim

For Vim version check folder base16-material.

Hybrid Reverse

Original w0ng/vim-hybrid, with only colors switched.

hybrid-reverse

Gvim/MacVim/Vim
set background=dark
colorscheme hybrid_reverse

Light version

Light version is also included, just set background to light instead of dark:

set background=light
colorscheme hybrid_material

Airline

If you are using vim-airline plugin, there is a hybrid theme that suites well with this color scheme (Used on screenshots).

let g:airline_theme = "hybrid"

Font on screenshot: Inconsolata

Thanks to

vim-hybrid-material's People

Contributors

kristijanhusak avatar seanwash avatar colepeters avatar jonaustin avatar mantoni avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.