Giter Club home page Giter Club logo

hybrid-operator's Introduction

hybrid-operator

hybrid operator: a modernized take on the timeless classic

this is an update of vim-hybrid, a fantastic theme from Andrew Wong. his description, from the original repo:

A dark colour scheme for Vim that combines the:

Updates

Requirements

the original requirements:

  • gVim 7.3+ on Linux, Mac and Windows.
  • Vim 7.3+ on Linux and Mac, using a terminal that supports 256 colours.

to make the best of my tweaks:

  • a terminal that supports 256 colors, as well as italics.
  • WSL/Windows: i haven't tested it on any terminal besides wsltty, aka mintty running wsl-bridge.

Installation

  1. Copy colors/hybrid.vim to:

    ~/.vim/colors/hybrid.vim
    

    or alternatively, use a plugin manger such as vim-plug, NeoBundle, Vundle, or Pathogen.

  2. Add to ~/.vimrc:

    set background=dark
    colorscheme hybrid
  3. (Alternate) If using SpaceVim:

    add the following to your init.toml or init.vim:

    [[custom_plugins]]
    name = "jeromescuggs/vim-hybrid"

    restart vim, and let SpaceVim download and install the theme. restart SpaceVim, and either load it manually:

    :colorscheme hybrid 

    or set it as the default in init.toml / init.vim:

    colorscheme = "vim-hybrid"

Further configuration

the following is from the original README. although I do not need to do anything further after installation, the following might be useful for troubleshooting.

Define custom terminal colours

Due to the limited 256 palette, colours in Vim and gVim will still be slightly different.

In order to have Vim use the same colours as gVim (the way this colour scheme is intended) define the basic 16 colours in your terminal.

Linux users: rxvt-unicode, xterm

  1. Add the default palette to ~/.Xresources:

    https://gist.github.com/3278077

    palette

    or alternatively, add the reduced contrast palette to ~/.Xresources:

    https://gist.github.com/w0ng/16e33902508b4a0350ae

    palette

  2. Add to ~/.vimrc:

    let g:hybrid_custom_term_colors = 1
    let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
    colorscheme hybrid

OSX users: iTerm

  1. Import the default colour preset into iTerm:

    https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid.itermcolors

    iterm_palette

    or alternatively, import the reduced contrast color preset into iTerm:

    https://raw.githubusercontent.com/w0ng/dotfiles/master/iterm2/hybrid-reduced-contrast.itermcolors

    iterm_palette_reduced

  2. Add to ~/.vimrc:

    let g:hybrid_custom_term_colors = 1
    let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette.
    colorscheme hybrid

vim-spell

hybrid-operator's People

Contributors

blue-dog-archolite avatar dolio avatar jeromescuggs avatar luan avatar trcjr avatar w0ng avatar

Watchers

 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.